TASK DEFINITION: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
PROBLEM: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']

SOLUTION: 5181, q, c, W, r

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: ['J', 6195, 5897, 't', 'A', 8535, 'T', 'y', '4811', '901', '8697', '8489', '6507', 'D', 'z', 'y', '5357', '3247', '4591', '9217', '5985', '2223', 'N', 4115, 'h', 'a', 'n', 'S', 6815, 963, 5687, 'r', 'n', 4411, 'b'], [953, 'v', 6111, 'i', 3633, 'c', 2395, 3827, 1413, 3691, 'X', 'y', '4811', '901', '8697', '8489', '6507', 'D', 'z', 'y', '5357', '3247', '4591', '9217', '5985', '2223', 'M', 'v', 'W', 'R', 3891, 7825, 2379, 1045, 2859, 's', 'A', 'u', 'B', 6135, 9263]

SOLUTION:
y, 4811, 901, 8697, 8489, 6507, D, z, y, 5357, 3247, 4591, 9217, 5985, 2223