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

Input: Consider Input: [9525, 't', 3155, 5631, 5645, 'M', 'p', 'n', 'M', 3321, 6305, 'h', 2935, 't', 'R', 'r', 1307, 'i', '1527', '8659', '8931', 'M', 'f', 'f', '9303', '5559', 'D', 'l', 'o', '2333', 'g', '7037', '6993', 'k', '2893', 'X', 'v', 'i', '9517', 'x', '1591', '7527', 'h', 'F', 'T', '7673', '8829', 'n', 5673, 'd', 6513, 'm', 'N', 'K', 4883, 'F', 2833, 739, 'Z', 'n'], ['u', 'M', 'b', 5671, 4401, 'j', 'r', 743, 633, 4021, 'i', 8229, 'a', 'J', 5117, 3953, 's', 5899, 4883, 'h', 'M', 'd', 1421, 6837, '1527', '8659', '8931', 'M', 'f', 'f', '9303', '5559', 'D', 'l', 'o', '2333', 'g', '7037', '6993', 'k', '2893', 'X', 'v', 'i', '9517', 'x', '1591', '7527', 'h', 'F', 'T', '7673', '8829', 'Y', 5741, 3519, 63, 'x', 'h', 7511]

Output: 1527, 8659, 8931, M, f, f, 9303, 5559, D, l, o, 2333, g, 7037, 6993, k, 2893, X, v, i, 9517, x, 1591, 7527, h, F, T, 7673, 8829


Input: Consider Input: [37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]

Output: 4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u


Input: Consider Input: ['q', 6181, 'N', 8767, '4907', '1545', 't', 't', '4981', '6565', '8385', '4247', '3411', '7221', 'N', '5015', 'h', 6111, 2591, 'y'], [6159, 'O', '4907', '1545', 't', 't', '4981', '6565', '8385', '4247', '3411', '7221', 'N', '5015', 'E', 'X', 'F', 3295, 361, 6303, 8785, 'P']


Output: 4907, 1545, t, t, 4981, 6565, 8385, 4247, 3411, 7221, N, 5015