In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 'j', 'W', 1171, 'L', 3753, 7085, 'T', 8915, 7629, 8615, 'H', 1271, 't', 'd', 8807, 'v', 's', 's', '2299', 'T', '2419', 'H', '2803', '3881', '6879', '1675', 'X', 's', '6365', '8893', 'a', 'T', 'M', '357', '9725', '2629', 'D', 'h', 'j', '351', 'S', 'Q', 'X', 'T', 'U', 'z'], [4241, 5915, 'c', 3527, 'D', 'H', 2437, 879, 5283, 9929, 7507, 2875, 1565, 6055, 10009, 'j', '2299', 'T', '2419', 'H', '2803', '3881', '6879', '1675', 'X', 's', '6365', '8893', 'a', 'T', 'M', '357', '9725', '2629', 'D', 'h', 'j', '351', 'g', 't', 'p', 'E', 'M', 'K', 2841, 'T', 'F', 5103, 8265, 'D', 'X', 'G', 8039, 8163, 897, 'K']