In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7959, 4581, 'R', 2383, 2185, 2895, 7507, '6003', '5835', '4591', 'e', '1765', 'q', '6515', '517', 'L', 'y', '6489', 'C', 9801, 'U', 7941, 'C', 2549, 'I', 'T', 'H', 'q', 'n'], [1413, 917, 7789, 2539, 'A', 6607, 1169, 7781, 'H', '6003', '5835', '4591', 'e', '1765', 'q', '6515', '517', 'L', 'y', '6489', 'J', 'l', 2957, 2897, 1259, 4949, 17, 5249, 5595, 'c', 2915]