In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7, 8797, 'h', 2317, 'O', 'k', 'M', 'c', 2573, '6639', 'g', 'T', 'I', '8567', 'X', '167', '3997', '1735', 'k', 'B', 'F', '613', '8977', 'W', 'F', 7373, 837, 'e', 7301, 'a'], [949, 6161, 'E', 'W', 'D', 'o', '6639', 'g', 'T', 'I', '8567', 'X', '167', '3997', '1735', 'k', 'B', 'F', '613', '8977', 'Y', 'W', 'C', 'r', 'f', 'y', 'u', 'H']