Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [9965, 'v', 'c', 'C', 549, 'a', 2863, 'I', 7233, 4875, 'e', 9383, 'W', 'm', 'b', 'v', 'b', 'W', 'R', 'a', '4219', 'B', '1753', '5805', 'V', '2373', 'q', '6135', 'q', '2021', 'A', 'M', '1979', '6537', '4539', '3253', 'X', '4947', '6815', 'x', 'A', '9621', 'o', 'c', 'R', 3693, 3385, 4135, 6641, 177, 't', 3691, 4441, 'l', 'S', 2563, 'G', 'e', 'A', 2851], ['F', 'Q', 4977, 'U', 'o', 7127, 5507, 'd', 431, 'Y', 4681, 'U', 'S', 6719, 'm', 'b', 'v', 'b', 'W', 'R', 'a', '4219', 'B', '1753', '5805', 'V', '2373', 'q', '6135', 'q', '2021', 'A', 'M', '1979', '6537', '4539', '3253', 'X', '4947', '6815', 'x', 'A', '9621', 'o', 'l', 'L', 9579, 'y', 9237, 8409, 'N', 2057, 'J', 's', 53, 'W', 'j', 'D', 2591, 3657, 5851, 'Y', 3541]
Output:
m, b, v, b, W, R, a, 4219, B, 1753, 5805, V, 2373, q, 6135, q, 2021, A, M, 1979, 6537, 4539, 3253, X, 4947, 6815, x, A, 9621, o