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

Example Input: [7937, 'O', 't', 'q', 'A', '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'P', 9541, 'K', 'P', 'I', 'd', 2929, 3037, 's', 'o'], [5771, 'e', 6539, 3301, 7501, 1959, 2737, 'W', 347, 'S', 'A', 7789, 1561, 'G', 's', 1703, '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'C', 4525, 2207, 8867, 'D', 'c', 9997, 'f', 'E', 'd', 2503, 527, 's', 'Q', 'Y', 'R', 4405, 'a']
Example Output: 5875, 3561, 2131, L, 9023, A, 4107, Y, h, A, 8649, 6349, S, 1841, X, Y, 8859, 2327, x, 6845

Example Input: ['t', 3815, '7171', 'I', 'm', '3035', 'a', 'V', 2889, 'm'], [5911, 4525, 'R', 133, '7171', 'I', 'm', '3035', 'P', 'W', 'f', 4045]
Example Output: 7171, I, m, 3035

Example Input: [6767, 6949, 5353, 411, 1495, 9675, 'g', 'E', 2531, 7759, 6951, 's', 'X', '1441', 'V', '1711', 'e', '3715', '653', 'g', 'Y', '8667', 'J', '1071', 'q', '2659', 'S', 1263, 'b', 'b', 6681, 'O', 8357, 's', 'Y', 'J', 'Z', 'O', 'Z'], ['Q', 'J', 'G', 'V', 8995, 'x', 8475, 'O', '1441', 'V', '1711', 'e', '3715', '653', 'g', 'Y', '8667', 'J', '1071', 'q', '2659', 'i', 'q', 8391, 'j', 'O', 6273, 't', 1851, 'e', 'o', 7261, 8757]
Example Output:
1441, V, 1711, e, 3715, 653, g, Y, 8667, J, 1071, q, 2659