In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3429, 1327, 'c', 7703, 'd', 5941, 8919, 'Z', 'X', 'Z', 'N', '9225', '789', 'v', '1931', 'H', '5433', 'Y', '3221', '7427', '5607', '4275', '4525', 'c', 4853], ['o', 7919, 'Z', 'X', 'Z', 'N', '9225', '789', 'v', '1931', 'H', '5433', 'Y', '3221', '7427', '5607', '4275', '4525', 'd', 9611, 9125, 'k', 'U', 2177, 9129, 'v', 'J', 'c', 5017, 'Z', 'M', 5387]