In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3597, 8861, 3897, 9649, 3123, 1775, 225, 'w', 'a', 'b', 6613, 'i', 6409, 663, 'F', 'f', 9607, 9899, 'T', 'P', 7515, 5705, 5351, 'O', 'M', 'W', '3151', 'K', '4137', '6823', 'N', '5157', 'd', '6607', '5737', 'S', 'R', '6217', '309', '7727', '5579', 'P', '6695', '6215', 'U', 'b', 'L', 'I', 'c', 'K', 't', 'H', 'm', 1393, 3283, 'y', 7267, 'L'], [5327, 545, 'Y', 'd', 7489, 8515, 1615, 2303, 'n', 7825, 'S', 6907, 'O', 'M', 'W', '3151', 'K', '4137', '6823', 'N', '5157', 'd', '6607', '5737', 'S', 'R', '6217', '309', '7727', '5579', 'P', '6695', '6215', 'U', 'b', 'L', 'I', 'c', 'z', 2397, 'q', 1547, 'm', 'd', 8903]