TASK DEFINITION: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
PROBLEM: [4731, 'z', 8923, 1325, 'P', 8435, 'u', 'B', 'N', 8191, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'O', 'H', 9453], [4977, 'E', 4865, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'R', 'T', 7065]

SOLUTION: O, 3019, 4077, w, W, x, z, 2233, 6509, N, 3069, 5471, K, x, q, 979, M

PROBLEM: [1201, 'x', 'Z', '1951', '6643', '4463', 'N', 'W', '4625', 'w', 'D', 3599, 'B', 2299], ['T', 'z', 'A', 'Z', '1951', '6643', '4463', 'N', 'W', '4625', 'w', 'T', 'M', 'M']

SOLUTION: Z, 1951, 6643, 4463, N, W, 4625, w

PROBLEM: ['p', 1671, 'O', '9719', 'X', 'N', 9315], ['S', 'q', 'O', '9719', 'X', 'F', 'r']

SOLUTION:
O, 9719, X