TASK DEFINITION: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
PROBLEM: [6137, 1795, 'J', 9247, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'J', 7209, 'S'], [3317, 657, 3971, 8789, 4953, 9693, 'O', 7845, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'M', 'A', 'B', 'l']

SOLUTION: r, w, E, s, 687, N, 8213, 1751, 2567, 5673, y, 6821, 6863, 8847, z, s, N, z

PROBLEM: ['V', 9605, '383', 'W', 'r', '2107', '375', '5329', '1973', 'e', '6041', 'b', '7285', 'u', '8099', '2721', '6361', '2135', '4997', 'x', 'G', 3653, 'F'], [2801, 2015, 5249, 'u', 'T', '383', 'W', 'r', '2107', '375', '5329', '1973', 'e', '6041', 'b', '7285', 'u', '8099', '2721', '6361', '2135', '4997', 'N', 'c', 'h']

SOLUTION: 383, W, r, 2107, 375, 5329, 1973, e, 6041, b, 7285, u, 8099, 2721, 6361, 2135, 4997

PROBLEM: ['Y', 'p', 'a', 'Q', 1827, 7529, 'X', 't', 4629, 2533, 'M', 'm', 'd', '7697', '627', 'l', 'g', '4737', '1605', '3733', '6629', '7765', '1877', 'W', '7779', '8821', 'g', 'd', 'Y', 'x', 'w', '8019', 'F', 9269, 'R', 'N', 4997, 7237, 'U', 'R', 'p', 'n', 'u', 'Q', 6635, 1161, 'k'], ['Z', 'K', 6079, 'k', 'o', 'E', 8105, 6973, 103, 'S', 8509, 3909, 'u', 7437, 'L', 'C', 'd', '7697', '627', 'l', 'g', '4737', '1605', '3733', '6629', '7765', '1877', 'W', '7779', '8821', 'g', 'd', 'Y', 'x', 'w', '8019', 'y', 7951, 'z', 'c', 'O', 'k', 2897, 1325, 1347, 9021, 'T', 4119, 'c', 4957, 'U', 't', 'a']

SOLUTION:
d, 7697, 627, l, g, 4737, 1605, 3733, 6629, 7765, 1877, W, 7779, 8821, g, d, Y, x, w, 8019