In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 5439, 145, 3399, 2615, 4241, 6493, 'r', 5857, 5419, 'r', 7321, 'K', 'I', 'k', 6145, 'q', '8603', 'a', '5107', 't', '549', 'w', '7847', 'n', '5213', '8195', '485', '6557', '7387', '533', 'M', '2179', '6815', '2635', 'G', 'R', 'X', 'Q', 5365, 9139, 'S'], ['j', 9219, 8639, 1723, 5599, 'O', 6189, 2497, 'i', 10017, 9851, 'q', '8603', 'a', '5107', 't', '549', 'w', '7847', 'n', '5213', '8195', '485', '6557', '7387', '533', 'M', '2179', '6815', '2635', 'U', 'h', 7107, 'T']