In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 769, 'v', 'P', 'X', 159, 2195, 'I', 8169, 'X', 1613, 'O', 2635, 7781, 6797, 'H', 1257, 3145, 'm', 'K', 1575, 5751, 'r', '4651', 'A', 'g', '4063', 'b', 'U', '8751', '7449', 'Y', 'M', 'N', 'Y', 'f', '2901', 'M', 'L', '8651', 'C', 't', 'Y', '7135', 'k', 'e', 'Q', 8629, 'E', 'D', 'p', 8527, 4603, 2485, 'G', 1641, 1197, 3935], [3507, 5303, 713, 'r', '4651', 'A', 'g', '4063', 'b', 'U', '8751', '7449', 'Y', 'M', 'N', 'Y', 'f', '2901', 'M', 'L', '8651', 'C', 't', 'Y', '7135', 'k', 'z', 2181, 'x', 'M', 'R', 6957, 'g', 'I', 6915, 'w', 'Y', 'r', 'w', 8115, 8907, 'W', 'n']