In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['o', 939, 'f', 'z', 8599, 7867, 'H', 'h', 'c', 6167, 'B', '4861', '4181', 'T', '3305', '9203', '2645', 'q', '6263', 'r', 'V', 'n', 'Z', '8797', 'A', 'e', '3289', '1409', 'J', 'V', 'X', 8389, 'l', 'c', 1633, 9723, 2005, 'z', 3587], ['X', 7973, 'U', 5547, 'R', '4861', '4181', 'T', '3305', '9203', '2645', 'q', '6263', 'r', 'V', 'n', 'Z', '8797', 'A', 'e', '3289', '1409', 'J', 'n', 5891, 9203]