In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['j', 'm', 1191, 'e', 5559, 'a', 'g', 'd', 'p', 'l', 'T', 'l', 1679, 'p', 'S', 'j', '183', 'I', '9449', '8407', '1659', '4661', 'V', '7039', '8247', '797', '9005', 'J', 'i', '6525', 'h', 'v', 'S', 4633], [2805, 'P', 'i', 'Z', 7121, 9353, 'U', 'O', 'A', 3297, 4523, 'd', 'z', 5157, 2587, 'S', 'j', '183', 'I', '9449', '8407', '1659', '4661', 'V', '7039', '8247', '797', '9005', 'J', 'i', '6525', 'h', 'v', 't', 4791, 'h', 8735, 2953, 'T', 'C', 'A']