In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['y', 'i', 3437, '6837', '8939', 'H', '6035', '4601', 'G', '1071', 'p', '7335', '353', 'X', '5133', '7883', '8073', '3761', '4663', 'r', 8777], [6491, 't', 'Z', 7009, 8687, 'g', 2141, 9739, 1315, 1383, 2223, 9059, 'f', '6837', '8939', 'H', '6035', '4601', 'G', '1071', 'p', '7335', '353', 'X', '5133', '7883', '8073', '3761', '4663', 'N', 'C', 5115, 'R', 'v', 'n', 7229, 'B', 4721, 'V', 1749, 5995, 'f']