In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1801, 4323, 4291, 7369, 'R', 1421, 7251, 4497, 2947, 2787, 4415, 8149, 2117, 1037, 'h', 7747, 5311, 'J', '3011', 'S', '5379', '3155', 'D', 'K', 'k', 'F', 'R', '5347', '5435', 'Z', 'g', '7435', '7273', '8699', 'K', '5793', 'g', '3043', '3659', 'Z', 'J', '2377', 'l', 'G', 'E', 677], ['D', 'F', 'F', 'p', 9255, 'h', 'U', 'a', 2693, 'k', 2529, 'h', 507, 89, 'y', 'n', 6479, 'X', 8603, 5427, 6669, '3011', 'S', '5379', '3155', 'D', 'K', 'k', 'F', 'R', '5347', '5435', 'Z', 'g', '7435', '7273', '8699', 'K', '5793', 'g', '3043', '3659', 'Z', 'J', '2377', 'l', 'e', 'n', 'C', 'G', 'F', 1783, 9309, 6299, 3611, 9811, 'd', 1173, 'y', 'G', 6605, 'I', 1885]