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

Example Input: [1291, 3229, 'C', 'P', 5501, 'M', 7039, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'p', 2557, 797, 'z', 'p', 'z', 'K'], ['a', 6929, 'h', 'r', 'Q', 'v', 'L', 4801, 'J', 1849, 4197, 5077, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'N', 773, 'g', 2295, 7477, 'R', 'I', 6823, 9695, 'v', 543, 'R', 7201, 9203, 1731, 'v', 4213, 767, 4273, 6557, 4155, 5339, 9859, 'w', 'D']
Example Output: 5337, L, 5089, q, 9619, 2651, 2899, 1103, 7949, T, 199, N, 4359, g, 597, 2195, F, 8427, 7741, 3033, 4565, 4957, Y, 37, 9017, k, 2555, z, 4683, q

Example Input: ['Q', 'N', 'm', 'L', 2015, 'W', 'D', 'd', 'c', 'Q', 'I', 'N', 'W', 'j', 'A', 6921, 'X', 'H', 'N', 'l', 'U', 'p', '4397', 'X', '1559', '167', 'i', '8689', '9273', 'J', 'r', 'a', 'K', '5511', 'R', 'z', 'T', 'f', 'V', 'E', 'V', 6753, 'z', 2281, 'Y', 7397, 115, 3973, 8083, 6475, 'L', 'z', 5969, 3581, 'm', 3171, 3211], ['R', 5629, 'k', 3959, 'R', 'O', 'U', 'V', 'N', 'o', 3345, 'P', 4317, 'M', 'g', 8331, 'v', 'T', 'R', 'Y', 'X', 'H', 'N', 'l', 'U', 'p', '4397', 'X', '1559', '167', 'i', '8689', '9273', 'J', 'r', 'a', 'K', '5511', 'R', 'z', 'T', 'f', 'r', 'u', 9505, 3363, 4823, 'w', 'i', 'B', 'Q', 'Y', 'H', 'R', 2991, 's', 'U', 5579, 'C', 'F', 'E', 'j', 'P']
Example Output: X, H, N, l, U, p, 4397, X, 1559, 167, i, 8689, 9273, J, r, a, K, 5511, R, z, T, f

Example Input: ['g', 'V', 'c', 1917, 'j', 'c', 8931, 'j', 1803, 565, 'z', 'f', '9469', '9557', '4197', '8229', 'F', '2243', 'f', '4681', '1753', '5301', '4481', 's', 4655, 'V'], [7361, 9563, 'f', '9469', '9557', '4197', '8229', 'F', '2243', 'f', '4681', '1753', '5301', '4481', 'j', 2647]
Example Output:
f, 9469, 9557, 4197, 8229, F, 2243, f, 4681, 1753, 5301, 4481