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

Example Input: [5307, 'b', 'I', '9451', 'W', 7941], [8087, 'U', 'I', '9451', 'g', 'I']
Example Output: I, 9451

Example Input: ['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]
Example Output: 1331, 7235, 8333, a, 4137, b, 9779

Example Input: [7201, 'G', 'n', 'h', 'o', 'R', 'Z', 'Z', 'J', 'f', 'X', 8737, 'v', '7993', 'a', 'm', 'H', 'c', 'C', 'r', 'i', 'q', '5531', 'k', '371', '5631', 'M', '965', 'j', 'X', '7719', 'T', '1713', 'e', 5625, 9641, 'i', 'f', 'I', 'N', 6899, 4659, 'd', 'J', 1249, 'u', 'T', 8327, 3041, 7701, 'H', 'M', 1, 8963], ['F', 5823, 'h', 4411, 2075, 'v', '7993', 'a', 'm', 'H', 'c', 'C', 'r', 'i', 'q', '5531', 'k', '371', '5631', 'M', '965', 'j', 'X', '7719', 'T', '1713', 'M', 3465, 'f', 'L', 'W', 3403, 8589, 'f', 'J', 1469, 'U']
Example Output:
v, 7993, a, m, H, c, C, r, i, q, 5531, k, 371, 5631, M, 965, j, X, 7719, T, 1713