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

Input: Consider Input: ['c', 'N', 9495, 305, 1779, 7447, 8519, 2777, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'A', 'p', 'k', 'h', 'A', 7013, 509, 'G'], ['V', 2467, 9505, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'W', 4557, 's', 4431]

Output: 2205, 2411, 4203, g, V, 8037, h, 5963, L, 715


Input: Consider 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]

Output: 4943, 2193, 6839, 5745, N, 219, 9797, 8987, 9105, 1975, 3513, 81, D, n


Input: Consider Input: [3231, 'f', 2273, 3655, 'W', 'h', 8899, 2111, 2703, 'i', 'k', 9149, 6203, '8669', '4681', '2489', 'L', 'a', '5293', 'r', '9273', '5039', '4305', '3089', 'M', 'h', '6771', '2931', '2253', 'q', '6431', '1411', 'G', 'x', 'r', 'A', '8483', 'J', 'b', 'm', 'I', 'D', 5031, 1061, 8925, 9069, 9849, 2763, 3945, 'X', 'B', 'H', 9059, 'V', 'M', 'G', 'v', 't', 'f', 'M'], ['q', 'Q', 1563, 1467, 'W', '8669', '4681', '2489', 'L', 'a', '5293', 'r', '9273', '5039', '4305', '3089', 'M', 'h', '6771', '2931', '2253', 'q', '6431', '1411', 'G', 'x', 'r', 'A', '8483', 'J', 'b', 'm', 'k', 8527, 2539, 9031, 'N', 4245, 5757]


Output: 8669, 4681, 2489, L, a, 5293, r, 9273, 5039, 4305, 3089, M, h, 6771, 2931, 2253, q, 6431, 1411, G, x, r, A, 8483, J, b, m