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

Ex Input:
['v', 1629, 't', 'y', 'R', 'k', 10021, 7155, '7241', '8007', 'N', '4295', 'O', '6233', '6893', '3293', 'J', '789', '85', '2423', 'o', 3491, 'z', 'i', 6959, 865], ['Q', 5541, 6301, '7241', '8007', 'N', '4295', 'O', '6233', '6893', '3293', 'J', '789', '85', '2423', 'D', 3297, 8731, 8807, 99, 'h', 3177, 2689, 'H', 'u', 'S', 833]

Ex Output:
7241, 8007, N, 4295, O, 6233, 6893, 3293, J, 789, 85, 2423


Ex Input:
[3299, 9737, 'M', 'P', 'H', '6993', '7079', 'k', 'u', 'k', '2129', 'm', 'l', '7993', 'i', '3657', 'u', 'u', 'Z', 'O', 'c', '7045', '8071', 'z', 'P', '7919', 'F', 4343, 'E', 'S', 'R', 'w', 'c', 2571, 9369, 8565, 6599], ['z', 4799, 'J', 'G', 'z', 2263, 8619, 'Y', 'I', 'b', 'K', 'l', 7535, 'm', 'i', 2287, 4413, 189, '6993', '7079', 'k', 'u', 'k', '2129', 'm', 'l', '7993', 'i', '3657', 'u', 'u', 'Z', 'O', 'c', '7045', '8071', 'z', 'P', '7919', 'T', 6699, 7547, 9497, 'K', 3003, 165, 5157, 'b', 7321, 'V', 6099, 6161]

Ex Output:
6993, 7079, k, u, k, 2129, m, l, 7993, i, 3657, u, u, Z, O, c, 7045, 8071, z, P, 7919


Ex Input:
['H', 3327, 'n', 'a', 4101, 'S', 'g', 627, '3575', 's', 'C', '3167', 'n', 'p', '197', 'T', 's', '2577', 'Y', 'e', 'p', 'o', 8081, 511, 'V', 'd', 'Y'], [5781, 7773, 345, 'U', 'p', 'O', 3683, '3575', 's', 'C', '3167', 'n', 'p', '197', 'T', 's', '2577', 'G', 4557, 1417, 5493]

Ex Output:

3575, s, C, 3167, n, p, 197, T, s, 2577