In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['j', 2505, 'I', 2799, 5713, 6309, 'b', 7999, 6823, 'J', 5837, 't', 'F', 'D', 9523, 5913, '5973', '8681', '3971', '3383', 'W', '711', '1401', 'w', '1195', '4525', 'o', 'S', 'c', '7417', 'D', '7369', 'Z', 'B', 'B', 'j', 'P'], [7179, 'a', '5973', '8681', '3971', '3383', 'W', '711', '1401', 'w', '1195', '4525', 'o', 'S', 'c', '7417', 'D', '7369', 'Z', 'b', 'j', 'T', 3807, 'F', 5361, 10029, 1003]