In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 1803, 3695, 'e', 2523, 'T', 4773, 4829, 'K', 7451, '2999', 'J', '9009', '3577', 'X', 'N', '7623', 'X', '5803', '5239', '5405', 'O', '6871', 'v', 8681, 2501, 7465, 'K', 'X'], ['q', 'G', 'h', 'e', 9397, 'l', 4219, 3679, 6627, '2999', 'J', '9009', '3577', 'X', 'N', '7623', 'X', '5803', '5239', '5405', 'O', '6871', 'F', 'Z']