In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5249, 'F', 'a', 7153, 8755, 5579, 9311, 4281, 4431, '8255', 'y', 'T', '2399', '697', '2105', 'P', '169', 'e', '2085', 'h', 'A', 3311, 'i', 9975, 'g', 'D'], [909, 9917, 'H', 'B', 4681, '8255', 'y', 'T', '2399', '697', '2105', 'P', '169', 'e', '2085', 'R', 1765, 'A', 447, 'F', 8519]