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

Ex Input:
['Y', 'T', 'S', 'w', 't', 2753, 2583, 'B', 1731, 'k', 5301, 'R', 'g', 5503, 1467, 'N', 'l', 'A', 'V', 2559, 'B', 5477, 9431, '6259', '7331', '9781', '945', 'S', '9147', '4263', '1371', 'c', '2595', 'W', 'N', 'T', 'l', 'X', 'T', 'e', '8731', 'A', 'V', '6643', 'k', 'S', 'r', 857, 'P', 2433, 'F'], [1509, 3085, 'H', 2635, 5929, 'h', 8211, 'D', 6973, '6259', '7331', '9781', '945', 'S', '9147', '4263', '1371', 'c', '2595', 'W', 'N', 'T', 'l', 'X', 'T', 'e', '8731', 'A', 'V', '6643', 'k', 'S', 'R', 'c', 'R', 'e', 3481, 'Y', 7899, 'l', 4879]

Ex Output:
6259, 7331, 9781, 945, S, 9147, 4263, 1371, c, 2595, W, N, T, l, X, T, e, 8731, A, V, 6643, k, S


Ex Input:
['e', 439, '9737', '9901', 'J', '4323', 'J', '3137', 'G', 'j', 4931, 7411, 'B', 'H', 'j', 7789], ['F', 'J', '9737', '9901', 'J', '4323', 'J', '3137', 'G', 'R', 'i', 'c', 'k', 'h', 'u']

Ex Output:
9737, 9901, J, 4323, J, 3137, G


Ex Input:
['t', 8741, 881, 'F', 2797, 's', 's', 'd', 'Z', 'q', '9115', '9249', '6517', 'H', '6515', '8737', '10031', '2675', '9105', 'k', 'x', 'a', '6603', 'O', 8081, 695, 'k', 8535, 'A'], [7081, 2951, 'J', 'Z', 'q', '9115', '9249', '6517', 'H', '6515', '8737', '10031', '2675', '9105', 'k', 'x', 'a', '6603', 's', 6045, 5729, 'X', 723]

Ex Output:

Z, q, 9115, 9249, 6517, H, 6515, 8737, 10031, 2675, 9105, k, x, a, 6603