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:
[1925, 1033, 'n', 1719, 1863, 9415, 'D', 8649, 's', 1653, 'V', 4263, 7099, 1825, 4487, 'G', 6067, 1553, 2517, '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 'z', 8647, 9547, 'W', 7287, 7347, 'N', 'n', 'T', 5997, 4799, 'V', 'H', 4561, 'B', 2887, 9375, 3029, 'Y', 'x', 'J'], [6377, 'o', '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 't', 'c', 7365, 3141, 5971, 6183, 'H', 3775, 'o', 2757, 9621, 'g', 'g', 1713, 'M', 9787, 5173, 9745, 'J', 'N', 8953, 'K', 1443, 'w', 8793, 9963, 6383, 3985, 9087]

Ex Output:
7743, 3161, X, 5815, 8019, 7445, H, g, 3451, 7313, j, v, 8927, 1115, b, t, 1253, 8603, p, p, c, i, 8035, Z, Z, 3931, 4321, q, 2639, S


Ex Input:
['w', 'L', 3675, 'N', 'J', 2603, '1997', 'a', 'B', '9817', '1105', '2701', 'X', 'L', 'e', 'n', 'u', '2455', 't', 'k', 7517, 6535, 567, 'g', 'R', 'u'], ['H', 'u', 7489, 2843, 'L', 'Y', 'Y', 925, 1723, '1997', 'a', 'B', '9817', '1105', '2701', 'X', 'L', 'e', 'n', 'u', '2455', 't', 'u', 8185, 6953, 'L', 4557, 159, 'Q', 8771, 'R', 8451, 'H', 8055, 9447]

Ex Output:

1997, a, B, 9817, 1105, 2701, X, L, e, n, u, 2455, t