In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2635, 'F', 'V', 187, 'Y', '1501', '1169', 'P', 'n', 'j', 'O'], [7911, 'A', 'G', 'Y', '1501', '1169', 'P', 'J', 8407, 'r', 'I']