In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 'p', 'E', 'T', 3873, 'o', 'N', 2309, 'k', 'M', 2225, 2545, 2951, '4519', 'L', 'H', '5975', 'K', '139', 'n', 'A', '1033', '8237', '3463', '3041', '2929', 'z', 'U', '4187', '2589', '6679', '2487', 'S', '6575', 'X', 'P', 'o', 'P', 7299, 5595, 'b', 'h', 3517, 'c', 6227, 'n', 9937, 1043, 721, 6757, 'c', 9907, 2989, 8389, 't'], ['q', 5381, '4519', 'L', 'H', '5975', 'K', '139', 'n', 'A', '1033', '8237', '3463', '3041', '2929', 'z', 'U', '4187', '2589', '6679', '2487', 'S', '6575', 'X', 'P', 'G', 4679, 'g', 't', 'X', 'i', 'q', 'j', 'C', 'E', 7789, 'P', 7769, 'e', 'g', 1321, 'H', 'P', 5843, 9147]