In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 5215, 'T', '7737', 'Q', 'm', '1743', 'h', 'B'], ['t', 6713, 'T', '7737', 'Q', 'm', '1743', 'k', 'K']