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

Example Input: [7855, 367, 8647, 9917, 9089, 'U', 5329, 'V', 9419, 3843, 'M', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'D', 'D', 7465, 'M', 'T', 3699, 'b', 8885, 'L', 'k'], ['p', 9677, 'R', 23, 1797, 2241, 4425, 1705, 'Z', 'C', 2803, 'S', 'N', 911, 567, 2169, 'k', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'W', 'J', 3419]
Example Output: 7745, N, B, m, V, q, 449, 7315, d, 4821, 1535, 2733, 713, 9271, Y, 5605, 8443, 6643, K

Example Input: ['K', 1657, '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'X', 'n', 3631, 'o', 'm'], ['P', 6249, 7565, 's', 1041, 'V', 'D', '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'n', 'U', 'z', 2559, 5379, 6985, 6059]
Example Output: 5001, 8571, 2343, 9471, P, 6369, 9299

Example Input: ['o', 2615, 3907, 4759, 543, 'p', 'E', '9703', 'H', 'z', '299', '9927', 'o', '6071', 'O', 6733, 'z', 'q', 5121, 6445, 'm', 'O', 1303], ['n', 5401, 'U', 9485, 9231, 'p', 'E', '9703', 'H', 'z', '299', '9927', 'o', '6071', 'i', 'D', 5221, 'U', 'x', 9207, 727, 3031]
Example Output:
p, E, 9703, H, z, 299, 9927, o, 6071