In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 7309, 'a', 5957, 2551, 'c', '4533', 'L', '9417', 'm', '7989', '4409', 'a', 'M', 'h', 4163, 'n'], ['q', 4457, 'D', 2623, 't', 'F', 'c', '4533', 'L', '9417', 'm', '7989', '4409', 'u', 2719, 'G']