In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 4859, 4327, 8723, 7413, 'Q', 'S', '6901', '5065', '2795', '2333', 'k', '299', 's', '7763', '3953', 'm', 'r', 3293, 'm', 'f', 2661, 'n', 'O', 'f'], ['F', 2485, 1477, 7299, 'N', 31, 2679, 4943, 'S', '6901', '5065', '2795', '2333', 'k', '299', 's', '7763', '3953', 'm', 'C', 3781, 3777, 9989, 'T', 'G', 995]