In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 5219, 'W', 4969, 'K', 9303, 7537, 6505, 3139, '759', 'P', '7117', 'm', '1249', '2351', '8387', 'L', '4551', 'G', 'j', '909', 'f', 3645, 509], [1059, 't', '759', 'P', '7117', 'm', '1249', '2351', '8387', 'L', '4551', 'G', 'j', '909', 'A', 'a', 'A', 'o', 'G', 'm', 593, 8939, 'K', 'U', 2177]