TASK DEFINITION: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
PROBLEM: ['r', 'g', '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'G', 'N', 2585], ['X', 5347, 'M', 'Z', 4615, '997', 'n', '631', '527', 'E', 'A', 'n', 'n', 'G', '1197', 'R', 'L', 'P', 'o']

SOLUTION: 997, n, 631, 527, E, A, n, n, G, 1197, R, L

PROBLEM: [6397, 'W', 'k', 'v', 'E', '1941', '2295', 'q', '1357', '2041', '5263', '7781', 'w', 'N', 1329, 5233, 'U', 2563, 'L', 8547], [1857, 'F', 'g', 8381, 165, 'o', 7009, 5455, '1941', '2295', 'q', '1357', '2041', '5263', '7781', 'w', 'X', 'g']

SOLUTION: 1941, 2295, q, 1357, 2041, 5263, 7781, w

PROBLEM: [9989, 6047, 'I', 8251, 'G', 3037, 'D', '8067', 'v', '6979', '1349', 'm', 'h', '9965', '1861', '9565', 'A', 'H', '1721', '4405', 'S', '9621', '3381', '8059', '1305', '4971', '8081', '2521', '6859', 'C', 'G', 'W', 'P', 3063, 8737, 7145, 'I', 5049, 6819, 'Z'], ['z', 5987, 2975, 9633, 'S', 2969, 2493, 'Y', 8913, 3771, 's', 7345, 1865, 8017, 7151, 'D', '8067', 'v', '6979', '1349', 'm', 'h', '9965', '1861', '9565', 'A', 'H', '1721', '4405', 'S', '9621', '3381', '8059', '1305', '4971', '8081', '2521', '6859', 'C', 'G', 'W', 'H', 'Z', 'O', 'E', 2843, 4895, 8081, 3235, 6091, 'V', 'S', 5809, 'E', 4253, 97, 1493, 'K']

SOLUTION:
D, 8067, v, 6979, 1349, m, h, 9965, 1861, 9565, A, H, 1721, 4405, S, 9621, 3381, 8059, 1305, 4971, 8081, 2521, 6859, C, G, W