In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 4383, 6767, 5995, 503, 'W', 'p', '2681', 'B', '2097', '1699', 'T', 'e', '5215', '5299', '2267', 'I', '1763', '1401', '6973', 'o', 'W'], [5377, 'M', 7895, 877, 'A', 'o', 'K', 'n', 1189, 9671, 'N', 'q', 'p', '2681', 'B', '2097', '1699', 'T', 'e', '5215', '5299', '2267', 'I', '1763', '1401', '6973', 'x', 1723, 8759, 'o', 3169, 'Y', 'y', 'u', 'I']