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

Ex Input:
[7231, 2153, '3257', '3693', 'P', 3291], [1543, 6411, '3257', '3693', 'G', 'k']

Ex Output:
3257, 3693


Ex Input:
['r', 7309, 'a', 5957, 2551, 'c', '4533', 'L', '9417', 'm', '7989', '4409', 'a', 'M', 'h', 4163, 'n'], ['q', 4457, 'D', 2623, 't', 'F', 'c', '4533', 'L', '9417', 'm', '7989', '4409', 'u', 2719, 'G']

Ex Output:
c, 4533, L, 9417, m, 7989, 4409


Ex Input:
[6419, 3157, 'T', 8213, 'L', '1057', 'c', '7961', 'Q', 'Y', 1839], [9743, 7621, 'Y', 2825, 'L', '1057', 'c', '7961', 'w', 'M']

Ex Output:

L, 1057, c, 7961