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: ['g', 'i', 7609, 'p', 'y', 'O', 5509, 9201, 9781, 'e', 'X', 's', 'o', '9871', '9251', '1915', '7173', 'W', '563', '2499', 'J', '4579', '3995', '395', '4377', '2283', 'b', '6491', 'Y', 'k', '2871', '8809', '9381', 'L', '6369', 'l', 'S', 5371, 'M', 'd', 9341, 'I', 4507, 4491, 'u', 'z', 1287], ['M', 'R', 4395, 'z', 2667, 7919, 8735, 'd', 'G', 5081, 4445, 'I', 'b', 1393, 'i', 3263, 3091, 2283, 'O', 5947, 'i', 'c', 'o', '9871', '9251', '1915', '7173', 'W', '563', '2499', 'J', '4579', '3995', '395', '4377', '2283', 'b', '6491', 'Y', 'k', '2871', '8809', '9381', 'L', '6369', 'I', 5723, 7665, 10011, 5605, 4517, 7615, 'N', 4705, 7009, 6803, 5151, 8397, 8279, 'R']
Solution:
o, 9871, 9251, 1915, 7173, W, 563, 2499, J, 4579, 3995, 395, 4377, 2283, b, 6491, Y, k, 2871, 8809, 9381, L, 6369