In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 'n', 'X', 'b', '7779', '8857', '1153', 's', '661', 'F', 'r', 4945, 9439], [8237, 2503, 'X', 'b', '7779', '8857', '1153', 's', '661', 'F', 'J', 'J', 9067]