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:
[4665, 'U', 1617, 4891, 3015, 'k', '9381', '4077', 'f', 'T', 'G', 'z', '9879', 'q', 'f', 'g', 'G', '8765', 'D', '1755', 'B', 'H', 'y', 6819, 9689, 4667, 6651, 'Z', 4359, 3239, 'k'], [4575, 7833, 7267, 't', 'C', 'k', '9381', '4077', 'f', 'T', 'G', 'z', '9879', 'q', 'f', 'g', 'G', '8765', 'D', '1755', 'v', 4883, 'l', 3055]

Ex Output:
k, 9381, 4077, f, T, G, z, 9879, q, f, g, G, 8765, D, 1755


Ex Input:
[5687, 947, 8057, 's', '5573', 'E', '3655', 'c', 'm', 'z', 'e', '2595', '3021', '339', 'W', '8711', 'e', 'b', 'S', 'Z', 'C', 'v', 'H', 'f', 'X', 3493, 365], [4969, 7683, 1765, 4047, 'P', 'X', 'T', 'X', 'V', 'z', '5573', 'E', '3655', 'c', 'm', 'z', 'e', '2595', '3021', '339', 'W', '8711', 'e', 'A', 'J', 'U', 8117, 3129, 8143, 'R', 5035, 9629, 'A', 6959]

Ex Output:

5573, E, 3655, c, m, z, e, 2595, 3021, 339, W, 8711, e