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: [8507, 'H', 'o', 'N', 'r', 'I', 3733, 'r', 6877, 5193, 1389, 7105, '8513', 'A', '5801', 'M', '1339', '6353', 'C', '3591', 'W', '7703', 'D', 'i', '1975', '9169', '7427', '8345', 'l', 'C', 'C', 'd', '7579', '1463', '8451', 'H', 'K', 'u', '8561', 'x', 3575, 'A', 7405, 'o', 'J', 6163, 'y', 'O', 'g', 7633, 'A', 6531, 4627, 'P', 'O', 'j', 'S', 'b', 'c', 'V', 7923, 'K', 'i', 5625, 893, 'V'], ['W', 'O', 6909, 'a', 1667, 'n', 'D', 'i', 7719, 4109, 4167, 4099, 5473, 'b', 'g', 'R', '8513', 'A', '5801', 'M', '1339', '6353', 'C', '3591', 'W', '7703', 'D', 'i', '1975', '9169', '7427', '8345', 'l', 'C', 'C', 'd', '7579', '1463', '8451', 'H', 'K', 'u', '8561', 'h', 'Z', 383, 2829, 5461, 1851, 'F', 'l', 981, 6545, 'v', 7707, 'W', 675, 'V', 'C', 599, 'd', 1967, 'X', 'y', 'B', 'K']

Output: 8513, A, 5801, M, 1339, 6353, C, 3591, W, 7703, D, i, 1975, 9169, 7427, 8345, l, C, C, d, 7579, 1463, 8451, H, K, u, 8561


Input: Consider Input: ['U', 'Z', '9611', 'O', 'h', '4731', '3571', 'Z', 5093, 'N', 5039], ['o', 'a', 'A', 'V', 'g', '9611', 'O', 'h', '4731', '3571', 'h', 'z', 'Q', 5169]


Output: 9611, O, h, 4731, 3571