In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 8533, 4131, 3107, 'Y', 'V', 'g', '1727', '3167', 'Z', '1547', 'h', 'e', 'K', '4885', '8497', 'g', 'C', '547', '9947', 'f', '3699', '8019', '3419', 'v', 'n', 'i', '3599', 'X', 'm', '2819', '3053', 'y', '9111', 's', 'D', 2653, 's', 'y', 4563, 'T', 6489, 9751, 'Z', 753, 1119, 1377, 5551, 'a', 2131, 4681], [4989, 'Y', 'K', 'S', 9993, 'Y', 'V', 'g', '1727', '3167', 'Z', '1547', 'h', 'e', 'K', '4885', '8497', 'g', 'C', '547', '9947', 'f', '3699', '8019', '3419', 'v', 'n', 'i', '3599', 'X', 'm', '2819', '3053', 'y', '9111', 'm', 9717, 5185, 'f', 'D', 'r', 'o', 5101, 'h', 7041, 'P', 'Z', 7353, 4421, 'J', 6443]