You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Solution: 8297, b
Why? 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'].

New input: ['F', 'z', 'l', 7867, 3057, 'E', 'J', 6279, 'y', 7709, 'd', 'f', 6443, 'u', 'Q', 8611, 6283, 'q', 'D', 3859, 1951, 3815, 1923, 'L', 9689, '3087', 'R', '1207', 'L', '5421', '8891', '6307', 'k', 't', '409', '5169', '625', '1167', '2745', 'U', 'l', '5753', 'W', '5005', '1073', 't', '1863', '2319', 'A', '2847', 'w', '4535', 'A', 'Z', 8119, 'F', 'g', 'w', 1427, 'E', 5233, 'l', 'I', 101, 4231, 8203, 'B', 'f', 'J', 'q', 5617, 's', 4915], ['j', 889, 8743, 'v', 'R', 7559, 'd', 'Y', '3087', 'R', '1207', 'L', '5421', '8891', '6307', 'k', 't', '409', '5169', '625', '1167', '2745', 'U', 'l', '5753', 'W', '5005', '1073', 't', '1863', '2319', 'A', '2847', 'w', '4535', 'y', 'z', 'Z', 4369, 5273, 3615, 'Y', 'e', 'J', 8633, 'Y', 6215, 2519, 8585, 'G', 'y', 'm', 'i', 'T', 6331]
Solution:
3087, R, 1207, L, 5421, 8891, 6307, k, t, 409, 5169, 625, 1167, 2745, U, l, 5753, W, 5005, 1073, t, 1863, 2319, A, 2847, w, 4535