In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2459, 'T', '8399', 'e', '6657', 'y', 'L', '4563', 'Q', '1745', '3125', 'X', '6805', '9043', '1777', 'I', 'G', 6625], ['m', 's', 'H', 2205, 3563, '8399', 'e', '6657', 'y', 'L', '4563', 'Q', '1745', '3125', 'X', '6805', '9043', '1777', 'Z', 3717]