TASK DEFINITION: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
PROBLEM: ['V', 5329, 8085, 'P', 'x', 8755, 1503, 'i', 'J', 'f', 'F', 'P', 'o', '6661', 'm', 'C', 'P', 'A', '291', '8021', 'g', 'i', '9461', 'j', '8435', '861', 'V', 'S', '4581', '5325', 'X', 'Z', 'k', 4837, 'S', 4623, 5943], ['w', 'V', 'X', 'U', 7723, 'C', 2293, 6079, 2371, 'E', 'l', 'q', 'W', 403, 8937, 'j', 5393, 2743, 'A', 'J', 'V', 6871, 'l', 's', 'J', 'f', 'F', 'P', 'o', '6661', 'm', 'C', 'P', 'A', '291', '8021', 'g', 'i', '9461', 'j', '8435', '861', 'V', 'S', '4581', '5325', 'X', 'Z', 'p', 2141, 3441, 2517, 7843, 'M', 9183, 8003, 'p', 6173, 'E', 'j', 4163, 'C', 2413, 6109, 'A', 'B', 8883, 3281, 'e', 1373, 'E', 'w']

SOLUTION: J, f, F, P, o, 6661, m, C, P, A, 291, 8021, g, i, 9461, j, 8435, 861, V, S, 4581, 5325, X, Z

PROBLEM: [6971, 'd', 'J', 'p', 'F', 5463, 'F', 'P', 1897, 'J', 'O', 'j', 'H', 'y', '3659', '9455', 'P', '9829', 'm', 'Q', 7829, 'C', 5311], ['E', 'R', 'H', 217, 'J', 'O', 'j', 'H', 'y', '3659', '9455', 'P', '9829', 'm', 'T', 5849, 1449]

SOLUTION: J, O, j, H, y, 3659, 9455, P, 9829, m

PROBLEM: [8309, 'X', 8991, '9789', 'Y', '8423', 'q', 'c', 4913], [8045, 6597, '9789', 'Y', '8423', 'Y', 8631]

SOLUTION:
9789, Y, 8423