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

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

Output: 1473, 6003, 8739, a, 1491, o, 381, a, L, E, b


Input: Consider Input: [7667, 5143, 'T', 'E', 'T', 'q', 'Q', 'i', 'c', 'A', 7503, '3605', 'c', 'c', '9759', '4535', '2651', 'M', 'f', 'm', '1859', '1089', '8417', '6247', 'B', '167', '2481', '5505', 'r', '7913', 'L', '9891', 'Z', '9983', 't', 'B'], ['M', 'S', 'J', 7313, 2291, 'e', 'T', 's', 'Q', 9505, 2219, 7845, 'K', 2339, 2553, 6137, 'j', 's', 6735, 7595, '3605', 'c', 'c', '9759', '4535', '2651', 'M', 'f', 'm', '1859', '1089', '8417', '6247', 'B', '167', '2481', '5505', 'r', '7913', 'L', '9891', 'Z', '9983', 'M', 'v', 'B', 8189, 4919, 9041, 4579, 'V']

Output: 3605, c, c, 9759, 4535, 2651, M, f, m, 1859, 1089, 8417, 6247, B, 167, 2481, 5505, r, 7913, L, 9891, Z, 9983


Input: Consider Input: [5857, 3419, 7729, 'I', 5987, 'r', 6339, 'w', 7591, 2943, 'q', 'R', 'S', 'X', '473', 'F', '2379', '4759', 'o', '3333', 't', 'F', 'O', '3395', 'J', '5853', '3909', '9537', '3875', '5273', '3325', 'P', 'R', 'b', '7549', 'd', 'J', '4045', '1917', 'V', 'k', 9699, 125, 2101, 'L', 'I', 763, 'x', 'j'], ['m', 4399, 'G', 'h', 'O', 6837, 't', 8451, 'J', 9203, 'N', 'c', 'y', 'F', 'i', 4831, 9045, 'W', 5423, 7213, 6079, 4017, 8411, 'S', 'X', '473', 'F', '2379', '4759', 'o', '3333', 't', 'F', 'O', '3395', 'J', '5853', '3909', '9537', '3875', '5273', '3325', 'P', 'R', 'b', '7549', 'd', 'J', '4045', '1917', 'R', 7027, 5913, 3199, 'S', 4493, 'p']


Output: S, X, 473, F, 2379, 4759, o, 3333, t, F, O, 3395, J, 5853, 3909, 9537, 3875, 5273, 3325, P, R, b, 7549, d, J, 4045, 1917


