In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[949, 'w', 6215, 'I', 'C', '9091', 'B', 'B', 3697], [9351, 'S', 4679, 'I', 'C', '9091', 'B', 'n', 439, 4519, 'A']