In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1701, 'W', 't', 'N', 'B', 5001, 'x', 'F', 'c', '9055', '2453', '1163', '2053', 'G', '9195', 'T', 'Q', '4961', '1947', 'J', 5137, 2471, 667, 1909], [4503, 'm', 7931, 'G', 6609, 'r', 4931, 'x', 'F', 'c', '9055', '2453', '1163', '2053', 'G', '9195', 'T', 'Q', '4961', '1947', 'm', 5981, 'V']