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

Example Input: ['m', 'J', 'X', '8931', 'u', 'm'], ['V', 3299, 'X', '8931', 'Z', 6965]
Example Output: X, 8931

Example Input: ['Y', 'T', 'S', 'w', 't', 2753, 2583, 'B', 1731, 'k', 5301, 'R', 'g', 5503, 1467, 'N', 'l', 'A', 'V', 2559, 'B', 5477, 9431, '6259', '7331', '9781', '945', 'S', '9147', '4263', '1371', 'c', '2595', 'W', 'N', 'T', 'l', 'X', 'T', 'e', '8731', 'A', 'V', '6643', 'k', 'S', 'r', 857, 'P', 2433, 'F'], [1509, 3085, 'H', 2635, 5929, 'h', 8211, 'D', 6973, '6259', '7331', '9781', '945', 'S', '9147', '4263', '1371', 'c', '2595', 'W', 'N', 'T', 'l', 'X', 'T', 'e', '8731', 'A', 'V', '6643', 'k', 'S', 'R', 'c', 'R', 'e', 3481, 'Y', 7899, 'l', 4879]
Example Output: 6259, 7331, 9781, 945, S, 9147, 4263, 1371, c, 2595, W, N, T, l, X, T, e, 8731, A, V, 6643, k, S

Example Input: ['m', 'a', 2691, 'C', 'W', 'P', 'N', 's', 'Q', 'x', 2661, 'P', 9517, 2499, 4393, 'c', 'C', 'M', '5107', '2379', 'T', '1921', 'm', '3251', '5111', 'J', '8381', 'Y', '7363', 'U', 'd', 'o', 'r', 'M', 'l', 9081, 'z', 'm', 9239, 8641, 1211, 'i'], [1131, 'L', 1807, 'f', 4695, 't', 5321, 'c', 'C', 'M', '5107', '2379', 'T', '1921', 'm', '3251', '5111', 'J', '8381', 'Y', '7363', 'U', 'S', 8065, 'i', 1091, 805, 'Q', 3585]
Example Output:
c, C, M, 5107, 2379, T, 1921, m, 3251, 5111, J, 8381, Y, 7363, U