In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 1987, '219', '5657', 'D', '8319', 'h', '2687', 'H', '6789', 'i', '2139', '5279', 'D', '5995', 'p', 'r', '3581', '2199', 'M', '2641', 'A', 'w', 'n', 53, 4241, 'H', 1531, 'z', 7541], [2607, 'P', 6693, 'K', 9703, 'x', 2175, 6403, 'S', 'h', 'Q', 1353, 6047, 'G', 'M', '219', '5657', 'D', '8319', 'h', '2687', 'H', '6789', 'i', '2139', '5279', 'D', '5995', 'p', 'r', '3581', '2199', 'M', '2641', 'A', 'm', 'L', 2387, 'B', 'u', 'p', 'B', 'q', 6845, 'O', 'z', 'i', 'n', 5227, 'x', 5749, 'c']