In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 295, 'L', 'D', 'D', 7781, 2579, 'F', '487', 'h', '3745', '5891', 'Y', '1121', 'q', 'y', 'L', 309, 's', 4905, 5337], ['m', 9627, 'K', 'F', '487', 'h', '3745', '5891', 'Y', '1121', 'T', 'V', 6541, 't', 'l', 463, 'P']