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: [9945, 7993, 'D', 'C', 1341, 'S', 3245, 'v', 'R', 'a', 'Y', 'm', 'j', 'S', 2325, 7293, 8483, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'o', 5889, 'c', 2547, 'q', 9407, 'M', 'O'], [2017, 'P', 9637, 7239, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'Y', 'O', 'U', 495, 'U', 3945, 'h', 9439, 6821, 7583, 6249, 573, 'v', 'T', 2219, 3279]
Example Output: 2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097

Example Input: [8649, 'G', 6047, 8205, 1123, 4805, 'U', 'F', 9325, 'l', '2087', '9149', '5569', '6101', 'p', '4635', 'K', 'Z', 'U', 'C', 'O', '1977', 'S', 'L', '3789', 'I', 'q', 5811, 'M', 7689, 'r', 'e', 9033, 'n', 4831, 'x', 'M', 'L', 'j', 'w', 'F', 'i', 'G'], ['t', 'M', 7285, 'X', 'w', 713, 5623, 4477, 6035, 'x', 935, 577, 'l', '2087', '9149', '5569', '6101', 'p', '4635', 'K', 'Z', 'U', 'C', 'O', '1977', 'S', 'L', '3789', 'I', 'H', 7595, 'i', 'C', 7333, 'f', 4797, 7907, 'b', 'J', 'C', 5393, 757, 'd', 'w']
Example Output:
l, 2087, 9149, 5569, 6101, p, 4635, K, Z, U, C, O, 1977, S, L, 3789, I