In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7257, 3617, 'c', 'g', 'x', 'v', '1103', 'N', 'g', 3611], [4705, 1253, 'g', 'x', 'v', '1103', 8471, 'm']