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

Example Input: ['T', 5987, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'n', 5107, 'w', 'u'], [6625, 'm', 8849, 3385, 6853, '3759', 'O', 'x', '4311', 'e', '6841', 'R', 'd', 'y', '2745', 'a', 'G', 'G', 'e', 3501]
Example Output: 3759, O, x, 4311, e, 6841, R, d, y, 2745

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: ['X', 'w', 'z', 'n', 4865, 915, 'v', 'z', 'q', 'O', 5665, 9939, 6571, 5051, 7343, 'b', '4131', 'L', '9137', '285', 'K', 'p', 'b', 'A', '2121', '1063', 'm', 'F', '329', 'k', 'Z', 'n', '5295', '6853', '6825', '4377', 'i', '8723', '9965', '6685', 'u', 'z', 'K', 8391, 781, 9479, 421, 'm', 7943, 7953, 9933, 5427, 1729, 'f', 2825, 8743], [6145, 9071, 1687, 2135, 'j', 'R', 3315, 6317, 2987, 'i', 'l', 9167, 'n', 'v', 8645, 'G', 'Y', 'b', '4131', 'L', '9137', '285', 'K', 'p', 'b', 'A', '2121', '1063', 'm', 'F', '329', 'k', 'Z', 'n', '5295', '6853', '6825', '4377', 'i', '8723', '9965', '6685', 'u', 'T', 'r', 'k', 1051, 6105, 'G', 'J', 'u', 'a', 'k', 1555, 4749]
Example Output:
b, 4131, L, 9137, 285, K, p, b, A, 2121, 1063, m, F, 329, k, Z, n, 5295, 6853, 6825, 4377, i, 8723, 9965, 6685, u