In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['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']