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

Ex Input:
[5861, 'Z', 1225, '3813', '8297', 't', '9301', 'd', 9323, 825], [5491, 'a', '3813', '8297', 't', '9301', 'Y', 'L', 'j', 5005]

Ex Output:
3813, 8297, t, 9301


Ex Input:
['t', 'W', 'i', 't', 4163, 'd', 'k', 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'T', 6267, 5627, 'u', 'g', 'F', 3861], ['f', 'g', 'N', 'I', 'C', 4633, 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'A', 'K', 1819, 3343, 8603, 'h', 1751, 'h']

Ex Output:
Y, V, 5149, 6959, 6843, 7821, 6533, g, 6879


Ex Input:
['t', 9899, 9967, 7103, '661', 's', 'j', '4117', 'E', 8229, 'k'], [5369, 'N', 4115, '661', 's', 'j', '4117', 'Z', 'n']

Ex Output:

661, s, j, 4117