In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['K', 'b', 7217, 1943, 1293, 8593, 'X', 1485, 'U', 'M', 'G', 'a', 5265, 'O', 'R', 689, 'l', 'w', 6603, 'P', 6961, 7875, 1041, 'T', '6789', 'W', 'a', '8157', '2863', 'R', '929', 'W', 'S', '9801', '1597', '2653', 'v', '329', 'c', '339', 'T', 'R', 'K', 'r', '1455', 'b', '7897', 'D', 'L', '4681', '5843', '2543', 'a', 585, 735, 'I', 'P', 6943, 'P', 3851, 9393, 6959, 275, 7377, 'F', 'i', 2813], [657, 'h', 'l', 5507, 1643, 'M', 'g', 6227, 8915, 'J', 'R', '6789', 'W', 'a', '8157', '2863', 'R', '929', 'W', 'S', '9801', '1597', '2653', 'v', '329', 'c', '339', 'T', 'R', 'K', 'r', '1455', 'b', '7897', 'D', 'L', '4681', '5843', '2543', 4085, 'G', 4333, 'E', 8427, 'r', 2279, 'C', 167, 199, 7077, 'J', 299, 6505, 'S', 'B', 4243, 'm', 8229, 'x', 5781, 7443]