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', 'h', 7337, 1363, 'y', 6349, 'P', 'b', 'Y', 2485, 'I', 'U', 'o', 5819, 4971, 'm', 'u', 3101, 6387, 'U', '6397', '3239', '9175', '3381', '883', 'g', '9559', '7257', 'f', 'v', 'e', '6757', 'g', 'L', '8329', 'k', '6255', 'X', 'q', '7657', '4193', '1117', '3863', 'd', 'I', 'e', 7981, 6241, 'h', 'B', 'm', 4279, 3719, 'x', 'h', 4883, 2807, 'G', 2709, 1887, 1765, 'E', 7289, 'D', 8171], ['V', 'B', 1541, 3911, 'U', '6397', '3239', '9175', '3381', '883', 'g', '9559', '7257', 'f', 'v', 'e', '6757', 'g', 'L', '8329', 'k', '6255', 'X', 'q', '7657', '4193', '1117', '3863', 'p', 9517, 'o', 2619, 3151, 'Y', 73, 1003, 'e']
Solution:
U, 6397, 3239, 9175, 3381, 883, g, 9559, 7257, f, v, e, 6757, g, L, 8329, k, 6255, X, q, 7657, 4193, 1117, 3863