In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 3043, 537, 3955, 3563, 'E', 9541, '5709', 'J', '2119', '3525', 'M', '8297', 'h', 'w', '5711', '8977', '6585', 'F', '9351', 'e', 'V', 'd', '2951', '1727', '1913', 'X', '2321', 'q', '1489', 't', 'R', 9575, 'd', 9077, 'K', 3307, 4895, 'S', 5725, 'X', 1381, 6217, 'U'], [2209, 5965, 39, 'H', 7843, 9421, 7339, 2727, 3113, 'I', 6843, '5709', 'J', '2119', '3525', 'M', '8297', 'h', 'w', '5711', '8977', '6585', 'F', '9351', 'e', 'V', 'd', '2951', '1727', '1913', 'X', '2321', 'q', '1489', 't', 'g', 'Z', 'p', 'n', 'j', 7027, 'B', 6147, 9241, 'K']