In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 227, 7941, 'j', 'G', 'E', '1811', '8585', '7443', 'c', 'Y', 'L', '9977', '9655', 'T', 'X', 2507, 9365], ['f', 9415, 'G', 'W', 'f', 'O', 'a', 6801, 6147, 'N', 'j', 'G', 'E', '1811', '8585', '7443', 'c', 'Y', 'L', '9977', '9655', 'T', 'q', 'b', 8029, 'r', 'G', 763, 9245, 'b', 4777]