In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
One example: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Solution is here: 8297, b
Explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].

Now, solve this: ['s', 'I', 8359, 8533, 4181, 15, 959, 5097, '2867', '275', '9253', 'n', 'A', '7319', 'x', '1905', '4951', 'z', '367', 'g', '2597', 'M', '3755', 'M', 'y', 'y', 'e', '3887', 'z', 'n', '7969', '9755', '4931', '2675', '4997', 'y', 379], [5767, 7713, 'x', '2867', '275', '9253', 'n', 'A', '7319', 'x', '1905', '4951', 'z', '367', 'g', '2597', 'M', '3755', 'M', 'y', 'y', 'e', '3887', 'z', 'n', '7969', '9755', '4931', '2675', '4997', 'u', 2555, 3303, 785, 'F', 'y', 6439, 6303, 'L', 6023, 9043, 'Z', 1623, 'R', 573, 'M', 'v', 6367, 573, 7903, 815, 'V']
Solution:
2867, 275, 9253, n, A, 7319, x, 1905, 4951, z, 367, g, 2597, M, 3755, M, y, y, e, 3887, z, n, 7969, 9755, 4931, 2675, 4997