In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['l', 't', 5659, 'Y', 2611, 'a', 2609, '2079', 'M', '8355', '5563', '5047', '5703', 'h', '3187', 'A', '4507', '3503', 'Z', 'Z', 'l', '6937', 'n', '4031', 'L', '5375', '5993', 'z', 'L', 4457], [1343, 'w', 'd', 'G', 1419, 'b', 8779, 'S', '2079', 'M', '8355', '5563', '5047', '5703', 'h', '3187', 'A', '4507', '3503', 'Z', 'Z', 'l', '6937', 'n', '4031', 'L', '5375', '5993', 'z', 'P', 4581, 5247, 4655, 'm', 1029, 6765, 6881, 'A', 'y', 't', 2681]