In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 1999, 2119, 6589, 3751, 'L', 5825, '6085', '9055', '8859', 'Q', 'G', '2491', '9023', '5459', '8061', '8263', 'r', 6283, 'i', 3447, 't', 'w', 1437], [6779, 'X', 1047, '6085', '9055', '8859', 'Q', 'G', '2491', '9023', '5459', '8061', '8263', 'f', 7917, 'O', 'f']