In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 'p', '5665', '9875', 'Z', '9135', 'F', 'r', '2835', 'I', 'n', 'C', 'k', 'k', '9629', 'c', '5603', 'w', '1293', '6133', 'G', '1869', 'B', 'g', 's', 'X', 'M', '1433', '8999', 'K', '4555', 'L', 'c', 'X', 5517, 'A', 'U', 'p', 'q', 'd', 9425, 'P', 'P', 4407, 3953, 'r', 'u', 9549, 'Z', 1339, 'P', 's', 769, 'z', 'h', 'x', 4067], ['f', 'P', 'J', 8641, 2081, 'c', 1315, 'K', 8255, 9391, 'A', 'V', 4105, 1301, 8621, 'e', 'N', 673, 2799, 'm', 'j', 3787, 9147, 1157, 'L', 7937, 8973, 6345, 9049, 3903, '5665', '9875', 'Z', '9135', 'F', 'r', '2835', 'I', 'n', 'C', 'k', 'k', '9629', 'c', '5603', 'w', '1293', '6133', 'G', '1869', 'B', 'g', 's', 'X', 'M', '1433', '8999', 'K', '4555', 'L', 'h', 'L', 'x', 9511, 6839, 'y', 9029, 9597, 8967, 'Z', 8653, 8671, 2785]