In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7487, 2481, 4529, 'W', 4355, 'R', 'd', '3099', '2019', 't', '2109', '1959', 'h', 'S', 'X', '9077', 'X', 'e', '7087', '2369', '3181', 'H', 7399, 7553, 1801, 'F', 2847], ['P', 'N', 63, 4541, 'x', 3679, 259, '3099', '2019', 't', '2109', '1959', 'h', 'S', 'X', '9077', 'X', 'e', '7087', '2369', '3181', 'g', 939, 'n', 'T', 7955, 'Y']