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

Ex 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]

Ex 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


Ex Input:
[9875, 'g', 8729, 'h', 'F', 'v', 'v', 8307, 6379, 3165, 7055, 'f', 'p', 3707, 'P', 6305, 'h', '9891', '2783', 'D', '7567', '95', 'T', 'U', '2035', 'W', 'C', 'B', '9943', 'B', '9033', '6511', 'e', '2623', 'O', 'Z', 'k', 7761], [9061, 1241, 'd', 3917, 'm', 9457, 'n', 1493, 725, 'O', 'h', '9891', '2783', 'D', '7567', '95', 'T', 'U', '2035', 'W', 'C', 'B', '9943', 'B', '9033', '6511', 'e', '2623', 'O', 'Z', 'o', 'J', 'c', 6919, 'O', 'O', 8809, 'J', 'v', 'O', 4633, 941, 'z', 6667, 'X', 'C', 'd', 5189]

Ex Output:
h, 9891, 2783, D, 7567, 95, T, U, 2035, W, C, B, 9943, B, 9033, 6511, e, 2623, O, Z


Ex Input:
['J', 'h', '8587', 'b', 't', 'k'], [8955, 7253, '8587', 'b', 'e', 8655]

Ex Output:

8587, b