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

Example Input: ['C', 'a', 5955, 5411, 'a', 'x', '9177', '1943', 'P', '7863', '6755', 'o', '5373', '2989', 'g', 'A', 'a', 'J', 'B', '8111', 'u', 'x', '4477', 'N', 'f', '4307', 'e', '3095', 'e', 'R', 'A', 'R', 5893, 't', 5495, 2381, 2823, 't', 'c', 'k', 9259, 4655, 8337, 8027, 'D', 7767, 'F'], ['V', 'w', 'x', 'p', 'N', 4045, 'h', 'h', 2607, 6243, 'F', 8575, 7799, 5463, 'N', 'j', 5469, 'x', '9177', '1943', 'P', '7863', '6755', 'o', '5373', '2989', 'g', 'A', 'a', 'J', 'B', '8111', 'u', 'x', '4477', 'N', 'f', '4307', 'e', '3095', 's', 9037, 'F', 'a', 'S', 9619, 8457, 'o', 8497, 675, 'B', 't', 'Y', 'x', 'x', 'K', 9773]
Example Output: x, 9177, 1943, P, 7863, 6755, o, 5373, 2989, g, A, a, J, B, 8111, u, x, 4477, N, f, 4307, e, 3095

Example Input: ['q', 'm', 6141, 3531, 7325, 6995, 523, 'o', '4461', '8613', 'W', 'V', '3673', 'z', 'W', '507', '201', 'i', '881', 'M', 'o', '8623', '5931', '8651', '7165', 'd', 'r', '9659', 'v', 7873, 'Q', 6365, 7655, 'C', 'O', 'f', 'Y', 1873, 5445, 7655, 2433, 'X', 1025, 'm', 6499, 'c', 'W', 'S'], ['M', 9393, 'M', 'Z', 7735, 519, '4461', '8613', 'W', 'V', '3673', 'z', 'W', '507', '201', 'i', '881', 'M', 'o', '8623', '5931', '8651', '7165', 'd', 'r', '9659', 'C', 8319, 649, 'w', 'G', 3879, 2781, 'L', 'S']
Example Output: 4461, 8613, W, V, 3673, z, W, 507, 201, i, 881, M, o, 8623, 5931, 8651, 7165, d, r, 9659

Example Input: ['r', 'X', 7017, 'D', 2235, 'p', 'i', 3287, 'z', '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'W', 4175, 5695, 'r', 9809, 8187, 'G'], [8989, 2959, 7907, 'F', 2481, 'Q', 9095, '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'g', 5163, 'B', 2487, 'r', 'j', 'l', 293, 'Z']
Example Output:
9245, S, 8055, 1843, 147, 4353, 9543, 9247, 6361, 609, v, z, 4349, d, 6611, 5101, G