Task: Program Execution
Input (English): 2, ['285', '9187', 'w', 'r']
Output (English): w, r