In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['j', 'D', 'J', 'k', 5019, 'I', 's', 'O', 'I', 6811, 'm', '9721', 'e', '5381', 'z', 'D', '6821', '9181', 'z', 'd', 'D', 'F', 'F', 'E', 'p', '8649', 'q', '3487', '2269', 'G', 145, 'c', 6421, 3553, 'w', 1875], ['K', 9677, 7367, 3147, '9721', 'e', '5381', 'z', 'D', '6821', '9181', 'z', 'd', 'D', 'F', 'F', 'E', 'p', '8649', 'q', '3487', '2269', 'a', 'N']