In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1295, 7565, 'L', '6519', 'K', '6421', 'C', 'B', '3053', 'h', '5877', 'R', 'a', 'K', '7473', 'w', 'J', 'm', 7355, 'f'], ['S', 8327, 'q', '6519', 'K', '6421', 'C', 'B', '3053', 'h', '5877', 'R', 'a', 'K', '7473', 'y', 'I', 'O']