In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1979, 617, 'p', '4375', 'd', 'm', 'y', 'G', 'F', '677', 'j', 'f', 'Z', 'K', 'w', '7177', 'f', 'z', 'y', '9319', 'F', 'A', '4641', '4889', '9091', 'T', 'r', '959', 'Z', 'L', 'M', 4887, 'A', 6569, 7925, 'b', 9261, 'l', 5357, 10003], [325, 'S', 6435, 'N', 3471, 3557, 'G', 5311, 6115, 5521, 8221, 4501, 2463, 'u', 9747, 'A', 9689, 4357, 2979, 4899, 's', 'd', 3591, 'Z', '4375', 'd', 'm', 'y', 'G', 'F', '677', 'j', 'f', 'Z', 'K', 'w', '7177', 'f', 'z', 'y', '9319', 'F', 'A', '4641', '4889', '9091', 'T', 'r', '959', 'Z', 'L', 'z', 'd', 'y', 59, 5547, 'f', 'c', 5501, 563, 'D']