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

Example 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]
Example Output: 6259, 7331, 9781, 945, S, 9147, 4263, 1371, c, 2595, W, N, T, l, X, T, e, 8731, A, V, 6643, k, S

Example Input: [3007, 9911, 'b', 2015, 'P', 'D', 'S', 91, 'G', 'Q', 'g', 'r', 'M', 'I', 'S', 3911, 'Q', 'i', 'd', '6005', 'B', 'g', '1179', '5719', 'L', 'E', 'b', 'c', 'a', 'E', 'n', 'R', '8111', 'A', '3377', 'Y', 2705, 't', 9889], ['l', 3713, 10005, 9299, 'i', 'V', 'v', 6969, 1775, 6541, 6827, 'S', 1677, 1181, 'C', 'i', 'd', '6005', 'B', 'g', '1179', '5719', 'L', 'E', 'b', 'c', 'a', 'E', 'n', 'R', '8111', 'A', '3377', 'p', 557]
Example Output: i, d, 6005, B, g, 1179, 5719, L, E, b, c, a, E, n, R, 8111, A, 3377

Example Input: [9399, 3419, 'R', 'k', 'C', 467, 6551, 5549, 2677, 1623, 8483, 'l', '7071', 'y', '1453', '8909', '6031', 'C', '7341', 'Q', '5751', '4815', 'a', '7567', 'o', 7615], ['p', 'T', '7071', 'y', '1453', '8909', '6031', 'C', '7341', 'Q', '5751', '4815', 'a', '7567', 'y', 'Z', 8273, 'r', 10009, 3553, 17, 'w', 'Y', 'k']
Example Output:
7071, y, 1453, 8909, 6031, C, 7341, Q, 5751, 4815, a, 7567