In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['D', 2217, 'S', 2037, 9565, 3485, 7605, 'p', 'c', 6115, 'N', 9259, 677, 3111, 2199, 'O', 'h', '3347', '5257', 'Q', '459', '2891', 'J', '9057', '6357', '829', '2639', 'I', 'Y', '8513', '4889', '3665', 'J', 'i', '9437', '7607', 'k', '333', 'Y', 8477, 'O', 'U', 'Y', 7433, 447, 'o'], ['P', 5871, 8795, 3059, 'G', 209, 3999, 3513, 4537, 229, 'O', 'h', '3347', '5257', 'Q', '459', '2891', 'J', '9057', '6357', '829', '2639', 'I', 'Y', '8513', '4889', '3665', 'J', 'i', '9437', '7607', 'k', '333', 'r', 761, 2629, 'E', 2007, 'H', 'R', 'G', 'J', 'y', 5207, 2473, 3691, 'z', 'W', 1659, 8319, 2595]