In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4589, 8561, 'w', 'I', 'M', 3469, '5359', '9641', 'e', 'R', '9513', 'I', '6097', '2611', 'm', '1197', 'C', 'E', 'O', 'o', 'T'], [2491, 'i', 'W', 'r', 4053, 'K', 'T', 939, 9293, 'p', 197, '5359', '9641', 'e', 'R', '9513', 'I', '6097', '2611', 'm', '1197', 'C', 'E', 'd', 2559, 'P', 9821, 9877, 2455, 's', 'o', 7045]