TASK DEFINITION: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
PROBLEM: [9945, 7993, 'D', 'C', 1341, 'S', 3245, 'v', 'R', 'a', 'Y', 'm', 'j', 'S', 2325, 7293, 8483, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'o', 5889, 'c', 2547, 'q', 9407, 'M', 'O'], [2017, 'P', 9637, 7239, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'Y', 'O', 'U', 495, 'U', 3945, 'h', 9439, 6821, 7583, 6249, 573, 'v', 'T', 2219, 3279]

SOLUTION: 2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097

PROBLEM: [2687, 7971, 2141, 'X', 'z', 1281, 'K', 6109, 7773, 'P', 5247, 'j', 'K', 5225, 'c', 4401, 'Z', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'B', 'k', 4913, 5483, 1465, 'F', 9669, 'i', 'L', 'q', 'n'], ['k', 'g', 'e', 'I', 'v', 97, 'N', 'j', 'Y', '4799', 'h', '5519', 'n', '3231', 'l', '3003', 'F', '5599', 'J', 'q', 'r', '889', 'e', '9805', 'X', 'H', 7153, 7967, 'u', 7859, 1387, 7361]

SOLUTION: j, Y, 4799, h, 5519, n, 3231, l, 3003, F, 5599, J, q, r, 889, e, 9805, X

PROBLEM: ['E', 'L', 'J', 'A', 6727, 'W', 1537, 'v', 'n', 'h', 'R', 'N', 'l', 3687, '5859', 'v', 'x', '8857', '4063', 'h', 'A', '67', 'c', 'y', '6597', 'z', 'U', 'v', '2695', '6023', '4119', 'u', '6987', '7849', 'E', 'D', 'p'], [3651, 9077, 4405, 'W', 5495, 3167, 1983, 4309, 8487, '5859', 'v', 'x', '8857', '4063', 'h', 'A', '67', 'c', 'y', '6597', 'z', 'U', 'v', '2695', '6023', '4119', 'u', '6987', '7849', 'N', 'q', 'O', 2845, 7751, 2393, 8401, 3501, 6859]

SOLUTION:
5859, v, x, 8857, 4063, h, A, 67, c, y, 6597, z, U, v, 2695, 6023, 4119, u, 6987, 7849