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

Input: Consider Input: [1925, 1033, 'n', 1719, 1863, 9415, 'D', 8649, 's', 1653, 'V', 4263, 7099, 1825, 4487, 'G', 6067, 1553, 2517, '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 'z', 8647, 9547, 'W', 7287, 7347, 'N', 'n', 'T', 5997, 4799, 'V', 'H', 4561, 'B', 2887, 9375, 3029, 'Y', 'x', 'J'], [6377, 'o', '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 't', 'c', 7365, 3141, 5971, 6183, 'H', 3775, 'o', 2757, 9621, 'g', 'g', 1713, 'M', 9787, 5173, 9745, 'J', 'N', 8953, 'K', 1443, 'w', 8793, 9963, 6383, 3985, 9087]

Output: 7743, 3161, X, 5815, 8019, 7445, H, g, 3451, 7313, j, v, 8927, 1115, b, t, 1253, 8603, p, p, c, i, 8035, Z, Z, 3931, 4321, q, 2639, S


Input: Consider Input: ['M', 'w', 9985, 4793, 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'b', 9903, 3977, 967, 'i', 'a', 2753, 'L'], [6925, 'w', 1371, 'w', 8257, 't', 6667, 'I', 4609, 5231, 'L', 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'U', 'x', 'w', 'H', 'n', 3339, 3271, 1439, 'A', 6725, 3041, 'R']

Output: R, 6127, 5051, e, 6973, 5935, e, 8843, 8801, q, 4307, R, 2797, e, 3417, Q, X


Input: Consider Input: [5709, 'L', '3149', '9379', 'X', 'J', 'u', 'B', 2381, 1643], ['F', 5781, 8359, 'C', '3149', '9379', 'X', 'J', 'k', 'L', 'M']


Output: 3149, 9379, X, J