Task: Program Execution
Input (English): 5, 6, ['w', '1837', 'z', 'G', '9995', 'J', 'a', 'p', '7801', 'F']
Output (English): J9995