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

Input: Consider Input: ['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]

Output: 8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163


Input: Consider Input: [7667, 'U', 5597, 9391, 'm', 'F', 683, 'k', 'r', 'm', 4389, 'X', 'p', 39, 'E', '8801', 't', 'B', 'V', 'v', 'e', 'p', '9493', '4805', 'n', 'V', 'C', '4657', '6173', '3989', '9599', 'U', 'r', 's', '5255', '5265', 'r', 8425, 2993, 'e', 6063, 9811, 'P', 7403], [3191, 'S', 'b', 'F', 'B', 'Z', 'i', 'A', 1703, 'q', 3449, 'Q', 'X', 'f', 'k', 4455, 'L', '8801', 't', 'B', 'V', 'v', 'e', 'p', '9493', '4805', 'n', 'V', 'C', '4657', '6173', '3989', '9599', 'U', 'r', 's', '5255', '5265', 'F', 'b', 6335, 615, 6181, 'K', 'U', 'F', 'a', 7617, 'F', 'W', 'N', 'Z', 8971, 'h', 9081, 'h', 4427, 'j']

Output: 8801, t, B, V, v, e, p, 9493, 4805, n, V, C, 4657, 6173, 3989, 9599, U, r, s, 5255, 5265


Input: Consider Input: [8463, 9065, 4587, 'E', 'B', 1697, 's', '6655', 'q', '5743', '5513', '1859', 'n', '5531', 'S', 'u', 'X', '6005', 'R', 'a', 'i', 'j', '7923', '6343', 'z', '7183', 'n', '1303', 'H', '8639', 'Z', '7479', 'l', '9853', 'U', 7289, 5959, 93, 5161], [1201, 'F', 8015, 3321, 'X', 7731, 'W', 'G', 'e', 2079, 5297, 5855, 133, 9355, 'v', 8815, 'Y', 4395, 'm', 's', '6655', 'q', '5743', '5513', '1859', 'n', '5531', 'S', 'u', 'X', '6005', 'R', 'a', 'i', 'j', '7923', '6343', 'z', '7183', 'n', '1303', 'H', '8639', 'Z', '7479', 'l', '9853', 'f', 'd', 1561, 2923, 'f', 'f', 'S', 'F', 6567, 5585, 'k', 'n', 'F', 6477, 4173, 863, 8713, 'F', 'N', 7225, 6123, 't', 589, 'J', 'R', 1693, 8013, 1389]


Output: s, 6655, q, 5743, 5513, 1859, n, 5531, S, u, X, 6005, R, a, i, j, 7923, 6343, z, 7183, n, 1303, H, 8639, Z, 7479, l, 9853