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

Example Input: ['P', 'S', 9171, 'k', 'W', 4523, 'Z', 4167, 'c', 1143, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'R', 'J', 'z', 'O', 'f', 2527, 7395, 'v', 6495, 9929, 'W', 8051], [9499, 't', 1453, 5771, 7923, 857, 359, 3273, 'a', 6789, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'h', 'f', 2835, 9965, 2423, 6015]
Example Output: 4943, 2193, 6839, 5745, N, 219, 9797, 8987, 9105, 1975, 3513, 81, D, n

Example Input: ['E', 'M', 'B', 4331, 'f', 3649, 'r', 7345, 7215, '4923', '4941', '4355', 'v', '5773', '1229', '1517', '4395', '5783', '161', 'b', 'U', 5067, 3717, 'J', 'u', 'X', 3429], [4891, 'Z', 4213, 'f', 'z', 't', 2777, 6509, 9497, 6257, 1147, '4923', '4941', '4355', 'v', '5773', '1229', '1517', '4395', '5783', '161', 'b', 'a', 9125, 'k', 8711, 'w']
Example Output: 4923, 4941, 4355, v, 5773, 1229, 1517, 4395, 5783, 161, b

Example Input: [8261, 4041, 'F', 'o', 8929, 'v', 6585, 'i', 'G', 6957, 4109, 8597, 6439, 'Z', 'X', '6005', '4289', '5325', '319', 'X', 'G', '2971', '7377', '7957', 'j', 'c', 'l', '1777', 'B', 4207, 's', 'a', 1657, 5239, 'D', 6997, 'A', 7643, 'L'], ['J', 'm', 5809, 'e', 'n', 'l', 2067, 4221, 'r', 's', 'X', '6005', '4289', '5325', '319', 'X', 'G', '2971', '7377', '7957', 'j', 'c', 'l', '1777', 'b', 9877, 'P', 'p', 'U', 1473, 'W', 6811, 7227, 'a', 7829, 7025, 'A']
Example Output:
X, 6005, 4289, 5325, 319, X, G, 2971, 7377, 7957, j, c, l, 1777