In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Ex Input:
['C', 'd', 'U', 'O', 'X', 'Q', 75, 'n', '1745', '4477', '5381', 'S', 'G', '257', 'Q', '2891', 'e', 'U'], ['G', 'H', 7457, 'N', '1745', '4477', '5381', 'S', 'G', '257', 'Q', '2891', 'G', 'x', 'm', 865, 9285, 1495, 'l', 'J']

Ex Output:
1745, 4477, 5381, S, G, 257, Q, 2891


Ex Input:
[2087, 5665, 'W', 'H', 6711, '8181', 'q', '1949', 'j', '7351', 'g', 5827, 4893, 9173], [5187, 4249, '8181', 'q', '1949', 'j', '7351', 'w', 'Z', 'C', 3255]

Ex Output:
8181, q, 1949, j, 7351


Ex Input:
[6139, 'h', 9727, '4141', 'g', 't', 'b', '7383', '5835', 'l', 8357], ['N', 8847, 'g', 9301, 'k', 6913, '4141', 'g', 't', 'b', '7383', '5835', 'j', 8789]

Ex Output:

4141, g, t, b, 7383, 5835