In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5963, 335, 9325, 1077, 'O', 'L', 'P', 'S', 'O', 'q', 't', 2853, 2337, '1761', 'I', 'g', '2681', '2241', 'z', '5941', 'N', '9995', 'C', 'g', '9353', '6533', '4431', 'n', 'I', 'P', 2635], [6809, 4247, 'X', 'W', 3111, 8277, 2561, '1761', 'I', 'g', '2681', '2241', 'z', '5941', 'N', '9995', 'C', 'g', '9353', '6533', '4431', 'n', 'I', 'h', 5387, 'L', 'T', 'Y', 7535, 4193, 5299, 'D', 2709, 8053]