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

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: [1875, 'T', 'Y', '5527', 'F', 'y', '5669', 'm', 'k', 2655, 8089], [3997, 7707, 9937, 'M', '5527', 'F', 'y', '5669', 'm', 'a', 'e']
Example Output: 5527, F, y, 5669, m

Example Input: ['z', 1501, 'Y', 'j', 739, 2299, 1403, '9415', '1327', 'N', '7037', '1141', 'E', 'k', 'P', 'x', 'Y', '7523', '8103', '6761', 'C', '4575', 'o', 's', '5519', 'E', '6473', '1235', 'W', '2813', 'U', 'Y', 'n', 'b', 'j', 'y', 4271, 5375, 7063, 449, 7823, 6189, 4411, 4601, 'O', 7507, 'A', 9883, 8503, 't', 'g', 'o', 1801, 6371, 7115, 93], [9153, 5477, 'k', 'n', 'Q', 'b', 4967, 'J', 'I', 7279, 'U', 4925, 9599, 'h', 1131, 'a', 3901, '9415', '1327', 'N', '7037', '1141', 'E', 'k', 'P', 'x', 'Y', '7523', '8103', '6761', 'C', '4575', 'o', 's', '5519', 'E', '6473', '1235', 'W', '2813', 'U', 'Y', 'n', 'O', 8005, 'w', 953]
Example Output:
9415, 1327, N, 7037, 1141, E, k, P, x, Y, 7523, 8103, 6761, C, 4575, o, s, 5519, E, 6473, 1235, W, 2813, U, Y, n