Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [7975, 4703, 'c', '8363', '1673', 'U', 'w', 6977], [3235, 'G', 'c', '8363', '1673', 'N', 'p']
Output:
c, 8363, 1673