In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9125, 'g', 5691, 1131, '8781', 'Y', 'K', 'v', '1039', '635', 'A', 3027, 'c', 'L', 'I', 'A'], ['l', 'F', 'l', 'K', 'R', 2135, '8781', 'Y', 'K', 'v', '1039', '635', 'm', 8787, 'J', 7713]