In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6105, 5863, 49, 7751, 'D', 8545, 6737, 'z', 'S', 6045, 'o', '5391', '9697', '2039', '6529', '9853', '7711', '735', '4297', 'T', '3363', '2033', '1257', '2855', '9613', 'L', 'i', 'R', 'j', 'G', 'A', 'q'], [9257, 5097, 'R', 4907, 'd', 'n', 'p', 'N', 'K', 2497, 8183, '5391', '9697', '2039', '6529', '9853', '7711', '735', '4297', 'T', '3363', '2033', '1257', '2855', '9613', 'L', 'i', 'y', 'M', 'Y', 'i']