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

Input: Consider Input: [7855, 367, 8647, 9917, 9089, 'U', 5329, 'V', 9419, 3843, 'M', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'D', 'D', 7465, 'M', 'T', 3699, 'b', 8885, 'L', 'k'], ['p', 9677, 'R', 23, 1797, 2241, 4425, 1705, 'Z', 'C', 2803, 'S', 'N', 911, 567, 2169, 'k', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'W', 'J', 3419]

Output: 7745, N, B, m, V, q, 449, 7315, d, 4821, 1535, 2733, 713, 9271, Y, 5605, 8443, 6643, K


Input: Consider Input: [1893, 1281, 10025, 'E', 2675, 2191, 'A', 4351, 3435, 7087, 'J', 'l', 'w', 'D', 'x', 'n', 4329, 4957, 'l', 'F', '8377', '8425', 't', '9767', 'B', '6243', '5819', '7993', '2429', '3513', 'A', '929', 'H', '7223', 'x', 'x', 'N', '6205', '3829', '8551', '6479', 'Z', '7559', '6201', '9539', 'e', 'R', 'Y', '5015', '7301', 'w', 'g', 'U', 5321, 'i', 4069, 'f', 1415, 'K', 7073, 'J', 'S', 'm', 4119, 'H', 243, 'J', 'Z', 'n'], [6147, 1863, 2545, 3545, 'W', 'B', 'b', 533, '8377', '8425', 't', '9767', 'B', '6243', '5819', '7993', '2429', '3513', 'A', '929', 'H', '7223', 'x', 'x', 'N', '6205', '3829', '8551', '6479', 'Z', '7559', '6201', '9539', 'e', 'R', 'Y', '5015', '7301', 'Y', 7797]

Output: 8377, 8425, t, 9767, B, 6243, 5819, 7993, 2429, 3513, A, 929, H, 7223, x, x, N, 6205, 3829, 8551, 6479, Z, 7559, 6201, 9539, e, R, Y, 5015, 7301


Input: Consider Input: [8797, 'V', 3859, 'i', 'S', 5899, 'j', 6225, 'Y', 'V', 7337, 'P', 'D', 'e', 4347, 345, 'o', '1321', 'Z', 'X', 'e', 'X', '119', 'X', 'g', 'W', 'H', '643', 'J', 'f', 'A', '3309', 'x', '3453', '7247', 'J', 'G', 'S', 'Y', 5911, 'm', 4531, 'w', 'X', 953, 'q', 5693, 'd', 'E', 'n', 8511], [5397, 2087, 'q', 'U', 8233, 'V', 'X', 'y', 6257, 8221, '1321', 'Z', 'X', 'e', 'X', '119', 'X', 'g', 'W', 'H', '643', 'J', 'f', 'A', '3309', 'x', '3453', '7247', 'J', 'X', 'j', 1675, 'l', 'A', 455, 'Z', 7971, 'L', 2295, 5749, 801, 1527, 'h', 'o', 9511, 'm', 2417, 'q']


Output: 1321, Z, X, e, X, 119, X, g, W, H, 643, J, f, A, 3309, x, 3453, 7247, J