In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 'Y', 3123, 'c', '6487', '6665', 'z', 's', 'E', 't', 'T', 'u', 'j', '7593', 'r', '51', '2525', '1129', 'Y', '2331', '9711', 'k', 3511, 4287, 1449, 'S', 4669, 2303, 7421, 3311, 'N', 'D', 9771, 7549, 1831, 3657, 5593], ['B', 'f', 6605, 'G', 'j', 'y', 6565, 'o', 'I', 8913, 'Y', '6487', '6665', 'z', 's', 'E', 't', 'T', 'u', 'j', '7593', 'r', '51', '2525', '1129', 'Y', '2331', '9711', 'w', 2291, 1529, 'p', 9653, 'N', 'I', 5381, 8623, 701, 'D', 'G']