In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6125, 'J', 'J', 3593, '5805', 'H', '4961', 'Z', '4073', '7353', 'Y', 'p', 'w', '7257', 'w', '8643', '9759', '5141', '7941', 'J', '10003', 'E', '3357', '5241', 'S', '8945', 'E', 'H', '4253', '1663', 'p', 'd', 4949, 4171, 241, 'k', 'l', 'B', 'z', 'J', 'j', 'M', 'p', 9539, 5895, 'w', 6693, 'D', 453], [4001, 't', 'k', 8721, 'L', 1197, 9541, 7555, 'u', 'R', 'N', '5805', 'H', '4961', 'Z', '4073', '7353', 'Y', 'p', 'w', '7257', 'w', '8643', '9759', '5141', '7941', 'J', '10003', 'E', '3357', '5241', 'S', '8945', 'E', 'H', '4253', '1663', 'K', 'A', 7973, 2913, 4313, 4091, 7475, 'e', 6291, 'V', 1795, 'J', 'g', 4679, 7331, 'q', 743]