In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8491, 'c', 'N', 'y', '6661', '69', '7361', 'T', '6539', 'F', 'a', 'H', 'P', 5043, 'L'], ['b', 3457, 9589, 'L', 6167, 'n', 'p', 'N', 'y', '6661', '69', '7361', 'T', '6539', 'F', 'a', 'H', 'Q', 369, 4515, 'r', 'O', 8241, 1591, 'c']