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: ['s', 5961, 'F', 6419, 7317, 2921, 'K', 3199, 2351, 9853, 4811, 3231, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'Q', 7059, 6673], ['Z', 2529, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'x', 825, 'e', 'I', 'G', 'n', 2345]
Example Output: 5953, 1493, 173, 425, O, L, 9941, J, p, 1999, 9613, 4401, 1875, F, i, 7537, 8471, 1193

Example Input: ['y', 3891, 'd', 'A', 'F', 'm', 'E', 'K', '929', 'x', 'o', '657', '5171', '5855', '7399', '3423', '3051', 'K', '1831', 'N', '3633', '2917', '4227', '2187', 'A', 'U', 'L', '3663', '8129', '775', 'c', 'Y', 'J', 2265, 4437, 'k', 'n', 4673, 5321, 'c', 6557, 'd', 'r', 6879, 7053, 99, 6815], ['h', 1989, 5709, 3995, 5539, 4129, 'E', 'K', '929', 'x', 'o', '657', '5171', '5855', '7399', '3423', '3051', 'K', '1831', 'N', '3633', '2917', '4227', '2187', 'A', 'U', 'L', '3663', '8129', '775', 'c', 'E', 5513, 9039, 3891, 'e', 'Z']
Example Output:
E, K, 929, x, o, 657, 5171, 5855, 7399, 3423, 3051, K, 1831, N, 3633, 2917, 4227, 2187, A, U, L, 3663, 8129, 775, c