In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 4869, 217, 'y', 3817, 'U', 'L', 'g', '3287', 'w', '5807', 'K', '1925', '2813', '3345', 'I', 'r', 'U', 4281, 'P', 'E', 2921, 'O', 'o'], ['Z', 'm', 'L', 'L', 'g', '3287', 'w', '5807', 'K', '1925', '2813', '3345', 'V', 'T', 1565]