Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
See one example below:
Problem: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Solution: 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'].

Problem: [9563, 675, 'U', 'N', 'E', 4771, 185, 'j', 'f', 'd', 'd', 'o', 'm', 'Z', '3655', '9049', '4031', '1175', '7269', 'A', 'k', 'i', '1075', '6183', 'z', 'z', '2051', '7671', '779', 'd', '9519', '9959', 'S', '8869', '7439', 'Q', 'S', '7209', '8567', '897', 'V', 'D', '5429', 'b', 'X', 5911, 'l', 451, 'k', 'z', 'w', 'f', 7459, 'X', 5221, 7987, 1837, 'F', 's', 'f', 351, 'L', 8421, 3657, 'b', 'o'], [1699, 4941, 'R', 'e', 'i', 'F', 2055, 7239, 6479, 9897, 4407, 'I', 'E', 'r', 4503, 'b', 4093, 'c', 't', 163, 7887, 833, 'V', 2315, 5213, 8593, 2447, 2351, 'q', 341, '3655', '9049', '4031', '1175', '7269', 'A', 'k', 'i', '1075', '6183', 'z', 'z', '2051', '7671', '779', 'd', '9519', '9959', 'S', '8869', '7439', 'Q', 'S', '7209', '8567', '897', 'V', 'D', '5429', 'b', 'W', 9897, 'o', 2741, 'N', 8461, 2817, 'W', 'Y', 'W', 'Z', 'P', 4317, 9189, 2867, 3159, 7671, 6385, 1177, 's', 8861, 1683, 9669, 3383, 'l', 1299, 4919, 5709, 5841, 'V']
Solution:
3655, 9049, 4031, 1175, 7269, A, k, i, 1075, 6183, z, z, 2051, 7671, 779, d, 9519, 9959, S, 8869, 7439, Q, S, 7209, 8567, 897, V, D, 5429, b