In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4039, 'i', 173, 'w', 7441, 4217, 'q', 245, 3419, 7729, 7899, 721, 'U', 9305, 'L', 'v', 'O', 'z', 4685, 6299, 2991, 5957, 9859, 3323, 2951, '1485', '635', '4307', '1257', '3501', '1705', 'r', '8067', 'V', '7771', 'F', 'X', '8199', '897', 'A', 'j', '4017', '6841', 'X', 'r', 'E', 'h', '3863', 'd', 'K', '4137', 'a', '917', 'e', '9407', 'B', 'T', 8425, 7435, 527, 4471, 443, 7667, 7195, 'S', 'R', 'o', 'I', 8857, 'd', 9673, 3801, 7373, 6429, 2683, 'l'], [7987, 'q', 855, 'O', 'w', 'z', 'S', 'u', 'l', 'X', 3857, 8261, 7989, 7489, 7573, 7901, 'n', 'o', 'H', 'd', 's', 's', 3849, 'P', 'M', 'r', 'G', 4673, '1485', '635', '4307', '1257', '3501', '1705', 'r', '8067', 'V', '7771', 'F', 'X', '8199', '897', 'A', 'j', '4017', '6841', 'X', 'r', 'E', 'h', '3863', 'd', 'K', '4137', 'a', '917', 'e', '9407', 'Q', 'q', 189, 6109, 6367, 4921, 7905, 4239, 5305, 's', 7529]