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

Ex Input:
['U', 6489, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'I', 'B', 'R', 'N', 9533, 'd'], ['U', 4287, 'f', 'R', 1407, 3893, 6739, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'Z', 2981, 'i', 'a', 'k', 5909, 'S', 9997]

Ex Output:
o, e, Z, G, 8175, r, 1915, 8587, 8845


Ex Input:
['i', 'n', '7509', '7241', 'V', 'k', 205, 'H'], ['s', 4349, 7023, '7509', '7241', 'V', 'O', 't', 9237]

Ex Output:
7509, 7241, V


Ex Input:
['I', 2463, 3433, 'C', '2337', '9057', 'p', '9519', 'z', '9079', '1683', '9081', 'c', 6201, 'x', 't', 'y', 's', 1665, 'C'], [2969, 'J', 'n', 3669, 4401, 'P', 'C', '2337', '9057', 'p', '9519', 'z', '9079', '1683', '9081', 'r', 'T', 4487, 'O', 'G']

Ex Output:

C, 2337, 9057, p, 9519, z, 9079, 1683, 9081