In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4621, 6745, 'S', 10025, 'x', 'z', 9107, 4369, 'U', 'F', 'J', 1707, 'g', 'u', 'P', 'O', 701, 1507, 'U', 'B', 'E', 'S', '8131', 'q', 'z', '1323', '9313', 'T', '2221', '6987', 'z', '3367', '4919', '601', 'Z', '5217', '6889', '9775', 'Z', 6165, 'n', 2565, 9379, 'y', 6555, 2979, 'q', 'v', 'X'], [3105, 6751, 6723, 551, 4035, 'U', 'B', 'E', 'S', '8131', 'q', 'z', '1323', '9313', 'T', '2221', '6987', 'z', '3367', '4919', '601', 'Z', '5217', '6889', '9775', 'O', 'L', 8363, 'i', 'b', 'G', 3255, 7871, 855, 6279, 8741, 2977, 8173, 3507]