In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5117, 2705, 833, 605, 2635, 4365, 3729, 'f', 'z', 7353, 4833, 'C', 'q', '8825', 'P', '809', 'T', '9825', '7199', '4249', '9575', 'N', 'q', 'M', 857, 5943, 'j', 'y', 'N', 'c', 5503], [10017, 'I', 9715, 5539, 6909, 4215, 'C', 'q', '8825', 'P', '809', 'T', '9825', '7199', '4249', '9575', 'N', 'q', 'e', 1035, 'U', 6673, 'P', 3537, 'S']