In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6519, 'e', 'E', 6357, 'l', 'W', '2951', 'S', 'x', '3577', 'P', '1587', 'p', 7989, 7525, 'Y'], [4363, 'T', 'T', 'X', 'l', 'W', '2951', 'S', 'x', '3577', 'P', '1587', 'a', 'u', 'n', 6287, 201, 679, 'F', 'A']