In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 'r', 'b', 'X', 's', '3485', '3005', '7115', 'y', '219', 'A', '1473', 'a', 'k', 'g', 's', 'i', 5427, 't', 'c', 'z', 2371, 'q'], [429, 5781, 9273, 2811, 2077, 9457, '3485', '3005', '7115', 'y', '219', 'A', '1473', 'a', 'k', 'E', 4319, 'f', 'A', 7431, 4767, 'N', 10023]