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

Example Input: [161, 4197, 9653, 'B', 7407, 'S', 'o', 4111, 2533, 5853, 2689, 3885, 4663, 7917, 2761, '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 'G', 833, 'J', 6547, 1275, 'u', 'z', 4137, 1605, 'm', 'c', 7401, 4119, 's'], [6981, 'L', 'b', 'B', 1803, 1413, 5191, 'i', '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 't', 't', 'n']
Example Output: 8061, 2211, w, O, z, G, F, 1055, 5895, J, L, 2759, l, e, 3601

Example Input: [9577, 'v', 2595, 7901, 5205, 'Z', 2647, 'm', 't', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'i', 9823, 5731, 'd', 'u', 1461, 'Z', 9415, 541, 'T', 'A', 'G', 7275], [9731, 4061, 'V', 'k', 9589, 'v', 'k', 7917, 'x', 'B', 'z', 31, 'K', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'n', 'J', 'g', 8859, 195, 'l']
Example Output: h, 6209, 6325, B, 8879, 1137, 7837, 1819, S, 2249, i, L, 3729

Example Input: [7963, 'h', 275, 6023, '1959', 'I', '2997', '217', '1609', 'm', 'b', 'e'], ['V', 9623, '1959', 'I', '2997', '217', '1609', 'R', 7429, 'u']
Example Output:
1959, I, 2997, 217, 1609