Task: Program Execution
Input (English): 2, 4, ['2875', '5849', 'X', 'D', 'f', 'o', '4835', 'O', '1653', '3087', 'J', 'e', 'y', 'Y', '5145']
Output (English): D, X, 5849