In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8207, 1257, 1571, 'k', '1231', 'y', '1903', 'd', 'J', 'z', 'M', 'y', 'e', 'p'], [6035, 6895, 'l', 9663, 's', 8593, 'u', '1231', 'y', '1903', 'd', 'J', 'z', 'M', 's', 'T', 3799]