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

Example Input: ['t', 3815, '7171', 'I', 'm', '3035', 'a', 'V', 2889, 'm'], [5911, 4525, 'R', 133, '7171', 'I', 'm', '3035', 'P', 'W', 'f', 4045]
Example Output: 7171, I, m, 3035

Example Input: ['N', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]
Example Output: z, f, o, L

Example Input: [7543, 3945, 'R', 617, 8791, 'G', 'j', 'r', '5381', '7355', '1843', 'L', '7993', '5879', 'c', 'i', '2861', 'a', '5363', '9981', '5187', '7741', '4233', '1493', '7801', 'U', 'q', '5903', '1007', 'v', '3027', '347', 'd', '1117', '627', 'I', '4645', 'F', 4855, 6815, 10005, 9031, 'L', 'v', 'F', 7087, 7065], [9657, 'Q', '5381', '7355', '1843', 'L', '7993', '5879', 'c', 'i', '2861', 'a', '5363', '9981', '5187', '7741', '4233', '1493', '7801', 'U', 'q', '5903', '1007', 'v', '3027', '347', 'd', '1117', '627', 'I', '4645', 'B', 'y', 'U', 2277, 7901, 2839, 'p', 3735, 'X', 'h', 4039, 'r', 8999, 'C', 'N', 5627, 9991, 2421, 6443, 7207, 'q', 2651, 4625, 'q', 'V', 793, 2101, 'x', 595]
Example Output:
5381, 7355, 1843, L, 7993, 5879, c, i, 2861, a, 5363, 9981, 5187, 7741, 4233, 1493, 7801, U, q, 5903, 1007, v, 3027, 347, d, 1117, 627, I, 4645