Task: Program Execution
Input (English): 2, ['531', 'w', '4959', '4217']
Output (English): 531, w