In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['s', 2047, 1113, 957, 'x', 7327, 'F', 10007, '3887', 'm', '2785', '503', 'Q', '3375', '9833', 'L', '7371', 'J', '7685', 'h', '847', '4101', 'r', 'w', '7777', 'X', '3927', '3465', '4207', '8793', 'Y', 'U', '2749', 'F', 9275, 6521, 'g', 'm', 'h', 7309], ['O', 1861, 'Z', 1967, 'k', 'U', 5707, 'j', 4523, 'W', 'b', 6577, 6877, 'h', 'u', 'Z', 'f', 'f', 'e', 8909, 1283, 6661, '3887', 'm', '2785', '503', 'Q', '3375', '9833', 'L', '7371', 'J', '7685', 'h', '847', '4101', 'r', 'w', '7777', 'X', '3927', '3465', '4207', '8793', 'Y', 'U', '2749', 'C', 'y', 'q', 5503, 6423, 'q', 'w', 7869]