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

Input: Consider Input: ['V', 5329, 8085, 'P', 'x', 8755, 1503, 'i', 'J', 'f', 'F', 'P', 'o', '6661', 'm', 'C', 'P', 'A', '291', '8021', 'g', 'i', '9461', 'j', '8435', '861', 'V', 'S', '4581', '5325', 'X', 'Z', 'k', 4837, 'S', 4623, 5943], ['w', 'V', 'X', 'U', 7723, 'C', 2293, 6079, 2371, 'E', 'l', 'q', 'W', 403, 8937, 'j', 5393, 2743, 'A', 'J', 'V', 6871, 'l', 's', 'J', 'f', 'F', 'P', 'o', '6661', 'm', 'C', 'P', 'A', '291', '8021', 'g', 'i', '9461', 'j', '8435', '861', 'V', 'S', '4581', '5325', 'X', 'Z', 'p', 2141, 3441, 2517, 7843, 'M', 9183, 8003, 'p', 6173, 'E', 'j', 4163, 'C', 2413, 6109, 'A', 'B', 8883, 3281, 'e', 1373, 'E', 'w']

Output: J, f, F, P, o, 6661, m, C, P, A, 291, 8021, g, i, 9461, j, 8435, 861, V, S, 4581, 5325, X, Z


Input: Consider Input: ['H', 3635, 'N', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'B', 9737, 'n'], ['U', 2701, 'e', 'z', 'd', 3631, 'E', 'V', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'c', 'F', 'b']

Output: c, 2297, U, W, j, 7741, u, 2283


Input: Consider Input: ['M', 'j', 1171, 'm', 'b', 1747, 3763, 2865, 1319, 3185, 'o', 2607, 4849, 815, 6637, 'v', 'Q', 'V', '1795', 'k', '7003', 'Y', 'h', 'a', '2511', '1721', '5065', '2983', '9869', 'o', '4583', 'E', '4715', '8953', '7413', '3285', 't', 'G', 3947, 6941, 'Z', 'U', 'x', 5723, 9783, 'y'], ['i', 'R', 'G', 'c', 9109, 'Y', 'C', 8281, 'V', '1795', 'k', '7003', 'Y', 'h', 'a', '2511', '1721', '5065', '2983', '9869', 'o', '4583', 'E', '4715', '8953', '7413', '3285', 't', 'a', 3467, 'H', 695, 'I', 9585, 8649, 5367]


Output: V, 1795, k, 7003, Y, h, a, 2511, 1721, 5065, 2983, 9869, o, 4583, E, 4715, 8953, 7413, 3285, t