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

Ex Input:
[7491, 'w', 'F', 2929, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'X', 'n', 821, 1983, 'S', 6305, 'O', 6533, 'q', 901, 'U', 2911], [3143, 1605, 4373, 'T', 7055, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'r', 'Z', 943, 861, 8883, 'b', 'n', 3409, 8943, 'M']

Ex Output:
6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093

Ex Input:
['m', 'K', 2769, 'i', 'k', 853, 'P', '9255', 'N', '8281', 'f', 'm', 'V', 'a', 3525, 7823, 2111, 'T'], ['Q', 1337, 'I', 'P', '9255', 'N', '8281', 'f', 'm', 'g', 'M', 3873]

Ex Output:
P, 9255, N, 8281, f, m

Ex Input:
[41, 'V', 4639, 'v', 8991, 'k', 'E', 'e', 'A', 519, 5431, 'r', 8709, 6575, 'h', 'U', 'C', 5471, 'z', 1031, 'R', 'W', 6435, 4551, 5085, 'q', '467', '4529', 'S', '1241', '9909', 'i', 'q', '4147', '1513', '6479', 'T', '1407', '8125', 'p', 'Z', 'U', '8819', 'i', '3179', '6769', 'd', '4699', 'c', 'L', '6073', 'n', 5195, 'O'], ['n', 'X', 1419, 9003, 7509, 'V', 10001, 6213, 'N', 'x', 'q', '467', '4529', 'S', '1241', '9909', 'i', 'q', '4147', '1513', '6479', 'T', '1407', '8125', 'p', 'Z', 'U', '8819', 'i', '3179', '6769', 'd', '4699', 'c', 'L', '6073', 'o', 5403, 1043, 'm', 'h', 'w', 'R', 'O', 'L', 3259, 3343, 3699, 9873, 8509, 3833, 9337, 5621, 8585, 5787, 'w', 'o', 't', 'V', 'b']

Ex Output:
q, 467, 4529, S, 1241, 9909, i, q, 4147, 1513, 6479, T, 1407, 8125, p, Z, U, 8819, i, 3179, 6769, d, 4699, c, L, 6073