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

Ex Input:
['s', 'M', 'y', 'b', 'S', 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'b', 'i', 'A', 2579, 8191, 'g', 3591, 4195, 'q', 1357], ['F', 'U', 'G', 7763, 1385, 'm', 1089, 4701, 1565, 'm', 9713, 'P', 'J', '8781', '7865', '1961', '6767', 'a', 'r', 'H', 'j', 'a', 'X', 'b', 'f', 7385, 'G']

Ex Output:
P, J, 8781, 7865, 1961, 6767, a, r, H, j, a


Ex Input:
[4301, 2885, 'X', 8841, 3911, 'l', 4267, 'M', 3861, 8005, 'm', '4475', 'b', '9275', 'w', '1043', '2027', '1', 'M', 'y', 'W', '3565', '8755', '6253', '5453', 'W', 'Z', 'f', 7767, 5683, 'l', 8029, 'C', 5169, 'F', 'b', 5421, 's', 'q', 203, 4903, 9957, 9367], [4131, 'w', 3479, 'z', 'm', 9829, '4475', 'b', '9275', 'w', '1043', '2027', '1', 'M', 'y', 'W', '3565', '8755', '6253', '5453', 'W', 'Z', 'v', 1275, 3867, 6831, 6147, 'K']

Ex Output:
4475, b, 9275, w, 1043, 2027, 1, M, y, W, 3565, 8755, 6253, 5453, W, Z


Ex Input:
[6431, 6183, 'v', 7129, 4239, 8685, 2297, 'J', 'g', '1905', '1433', '3541', 'h', 'q', '1989', 'c', '6005', '39', 'L', 'd', '49', 'C', '1021', '499', '7915', 'X', 'd', 'g', 'I', 9765, 281, 'N', 'q', 6147, 'o', 'K', 'R', 'n', 4715, 'V', 1811, 3125, 'u', 4601, 3063, 6609], [6135, 'p', 9689, 8029, 'B', 'J', 'g', '1905', '1433', '3541', 'h', 'q', '1989', 'c', '6005', '39', 'L', 'd', '49', 'C', '1021', '499', '7915', 'X', 'd', 'N', 7507, 'H', 'e', 1637, 1763]

Ex Output:

J, g, 1905, 1433, 3541, h, q, 1989, c, 6005, 39, L, d, 49, C, 1021, 499, 7915, X, d