In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 'N', 'x', 7857, 'D', 4143, 'P', 3543, 6979, 7051, 'h', 6437, 'v', 681, 'J', 'r', 5681, 'O', '4597', 'D', '4229', '7467', 'v', '479', 'G', '5587', 't', '2961', 'g', '3447', 'k', 'y', '3441', 'F', '667', '7441', '7617', '3221', 'K', 4421, 8725, 'Z'], [7015, 301, 2263, 'z', 'o', 'j', 'i', 8175, 715, 1729, 9875, 'E', 'O', '4597', 'D', '4229', '7467', 'v', '479', 'G', '5587', 't', '2961', 'g', '3447', 'k', 'y', '3441', 'F', '667', '7441', '7617', '3221', 'V', 3667, 8565, 1651, 'e', 'i', 4255, 9511, 9735, 't', 3943, 2705, 'X', 4847]