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

Example Input: [7667, 'U', 5597, 9391, 'm', 'F', 683, 'k', 'r', 'm', 4389, 'X', 'p', 39, 'E', '8801', 't', 'B', 'V', 'v', 'e', 'p', '9493', '4805', 'n', 'V', 'C', '4657', '6173', '3989', '9599', 'U', 'r', 's', '5255', '5265', 'r', 8425, 2993, 'e', 6063, 9811, 'P', 7403], [3191, 'S', 'b', 'F', 'B', 'Z', 'i', 'A', 1703, 'q', 3449, 'Q', 'X', 'f', 'k', 4455, 'L', '8801', 't', 'B', 'V', 'v', 'e', 'p', '9493', '4805', 'n', 'V', 'C', '4657', '6173', '3989', '9599', 'U', 'r', 's', '5255', '5265', 'F', 'b', 6335, 615, 6181, 'K', 'U', 'F', 'a', 7617, 'F', 'W', 'N', 'Z', 8971, 'h', 9081, 'h', 4427, 'j']
Example Output: 8801, t, B, V, v, e, p, 9493, 4805, n, V, C, 4657, 6173, 3989, 9599, U, r, s, 5255, 5265

Example Input: ['c', 'G', 8225, 6329, '6291', '5279', 'n', 'A', 'J', 'n', 5221, 'r', 't'], ['k', 'M', 'Z', 'B', 4003, '6291', '5279', 'n', 'A', 'J', 'g', 'm']
Example Output: 6291, 5279, n, A, J

Example Input: ['d', 'e', 5219, 7181, 2111, 'd', 'x', 'b', 2953, 'v', 'Y', 'F', 't', 3071, 9685, 'r', 763, 'e', 'e', 7293, 'D', '3489', 'x', '5893', 'S', 'h', 'L', '8601', 'J', '5793', '9367', 'f', '2539', 'J', 'R', '4371', 'R', 'L', 'F', '3753', '9523', '9419', '5403', '2207', '2593', 'V', '4531', 'W', 'q', 2133, 'L', 8205, 17, 'T', 1501, 'P', 'Q', 5631, 6763, 'x', 'v', 7767, 'r', 'g', 'V'], [3321, 'l', 'n', 'D', 3305, 'i', 'b', 'P', 'k', 'v', 2049, 1453, 'O', 715, '3489', 'x', '5893', 'S', 'h', 'L', '8601', 'J', '5793', '9367', 'f', '2539', 'J', 'R', '4371', 'R', 'L', 'F', '3753', '9523', '9419', '5403', '2207', '2593', 'V', '4531', 'i', 1305, 'N', 'G', 5025]
Example Output:
3489, x, 5893, S, h, L, 8601, J, 5793, 9367, f, 2539, J, R, 4371, R, L, F, 3753, 9523, 9419, 5403, 2207, 2593, V, 4531