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

Example Input: [8967, 95, 'd', 5595, 8365, 5089, 3537, '1473', '6003', '8739', 'a', '1491', 'o', '381', 'a', 'L', 'E', 'b', 'i', 'j', 'i', 'R', 'b', 'C', 'w', 'u', 'W'], [4525, 'J', '1473', '6003', '8739', 'a', '1491', 'o', '381', 'a', 'L', 'E', 'b', 'A', 625, 'H', 'Y', 'm', 3291, 'a', 'c', 3441]
Example Output: 1473, 6003, 8739, a, 1491, o, 381, a, L, E, b

Example Input: [5231, 5685, 9687, 3613, 75, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'B', 'P', 'j', 'n', 5543, 6907, 9665, 4635, 'K', 'b', 4577, 'n', 4119, 'C'], [1147, 'Z', 'G', 9027, 'q', 'p', 'b', 'l', 'W', 'J', 1599, 'y', 6833, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'H', 6089, 'w']
Example Output: 6685, G, q, F, X, 5671, r, 2785, V, 6491, d, N, 6803, P, M

Example Input: ['h', 'h', 'P', 'z', 71, 5757, 'v', 'x', 'h', 'O', 'a', 'S', 'z', '295', '1447', 'Y', 'B', '4171', '5033', '7783', '1411', '3595', 'r', '3137', 'D', 'w', 'P', 'N', 'K', 1533, 2611, 'j', 3259, 'g', 'A', 775, 's', 1017, 5081], [7555, 'O', 1711, 4121, 4453, 'g', 3879, 1825, 10013, 7391, 'o', 681, 8029, 6331, 5801, 'v', 'x', 'h', 'O', 'a', 'S', 'z', '295', '1447', 'Y', 'B', '4171', '5033', '7783', '1411', '3595', 'r', '3137', 'D', 'w', 'P', 'N', 'W', 'K', 7773, 5759]
Example Output:
v, x, h, O, a, S, z, 295, 1447, Y, B, 4171, 5033, 7783, 1411, 3595, r, 3137, D, w, P, N