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: [9575, 'B', 2013, 'J', 'e', 7839, 1517, 1505, 'T', 1109, 5639, 'o', '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'j', 3455, 4281, 7515, 2685, 617, 'M', 'f', 1943, 2675, 'L', 'U'], [1429, 2865, 'Y', 745, '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'F', 'r', 'w', 3275, 'x', 'y', 'R', 'N', 'P', 4961, 'm', 'v', 'L', 'g', 'B']

Output: 4409, L, 9207, 2481, W, 5287, h, b, h, T, g, k, 5867, p, 3705, 1257, 4107, 3389, a, r


Input: Consider Input: [8673, 6681, 's', 5407, 'E', 'X', 5609, 6611, 'R', 'N', 1419, '7649', 'Y', 'D', 'c', '5125', 'H', '6017', '473', '5377', '6443', '7829', '6039', '4483', 'B', 'T', 3051, 'j', 6075, 965, 9575, 'y'], [5233, 'f', 2515, 'u', 'q', 7947, 8861, 'z', 5279, 'Y', '7649', 'Y', 'D', 'c', '5125', 'H', '6017', '473', '5377', '6443', '7829', '6039', '4483', 'B', 'K', 'P', 3669, 9497, 6323, 7229, 6827]


Output: 7649, Y, D, c, 5125, H, 6017, 473, 5377, 6443, 7829, 6039, 4483, B