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

Ex Input:
['T', 5987, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'n', 5107, 'w', 'u'], [6625, 'm', 8849, 3385, 6853, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'a', 'G', 'G', 'e', 3501]

Ex Output:
3759, O, x, 4311, e, 6841, R, d, y, 2745


Ex Input:
[395, 'n', 'w', 2771, 'E', 'b', 't', 3169, 1467, 'U', 3777, 'E', 'v', 7179, 6343, 7867, 1145, 6015, 'z', 'b', 'n', 681, 6517, 'c', 'z', 2275, 3123, 'Q', 'q', 'm', 'A', '3931', '6189', 'Y', '5423', '2865', 'y', '9783', 'R', '7107', 'i', '1257', 'C', '6923', 'F', 'E', '2937', 'c', 'Y', 'j', '5731', 'P', 'L', 'M', '65', 's', 'I', 'W', 5819, 'E', 8891, 'v', 'x', 1871, 'd', 1279, 7007], ['b', 'K', 4685, 9075, 3699, 3283, 3619, 4061, 't', 1445, 'Y', 'a', 'p', 'm', 5807, 7723, 'X', 'R', 'u', 'j', 6005, 6139, 4653, 283, 4471, 'Z', 'n', 5021, 1519, 'Q', 'q', 'm', 'A', '3931', '6189', 'Y', '5423', '2865', 'y', '9783', 'R', '7107', 'i', '1257', 'C', '6923', 'F', 'E', '2937', 'c', 'Y', 'j', '5731', 'P', 'L', 'M', '65', 's', 'n', 7877, 4097, 'o', 'N', 7407, 'T', 'O', 6965, 8331, 'i', 5451, 'N', 'p', 'r', 7669, 8539, 'h', 'U', 8731, 4935]

Ex Output:
Q, q, m, A, 3931, 6189, Y, 5423, 2865, y, 9783, R, 7107, i, 1257, C, 6923, F, E, 2937, c, Y, j, 5731, P, L, M, 65, s


Ex Input:
['Q', 'l', 1529, 5395, 1667, 's', '6169', '8365', 'g', 'T', '5923', '107', '6613', 'z', 1545, 1771, 'n', 'H', 'Z', 'u'], [4017, 'M', 'd', 'Z', 4071, 's', '6169', '8365', 'g', 'T', '5923', '107', '6613', 'X', 'X']

Ex Output:

s, 6169, 8365, g, T, 5923, 107, 6613