In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3735, 'J', 'Z', 865, 'J', 'n', 5295, 1597, 'g', 4931, 'Z', 3677, 429, 385, 2237, 'S', 4371, 'u', '675', 'j', 'g', '4731', '1587', '9503', 'l', '4159', '2041', 'b', '7629', 'F', 'c', 'A', 's', '9251', 'L', '907', 'q', '405', 'f', 's', 7951, 'w', 'o', 5929, 'c', 4891, 'h', 'k'], [4637, 5873, 367, 5935, 1239, 'U', 6875, 3951, 'u', 'Y', 5497, 6403, 6257, 2847, 5673, 7869, 'H', '675', 'j', 'g', '4731', '1587', '9503', 'l', '4159', '2041', 'b', '7629', 'F', 'c', 'A', 's', '9251', 'L', '907', 'q', '405', 'm', 'r', 'h', 'F', 'K', 5155, 7053, 9393, 'Z', 2459, 'D', 6065]