Task: Program Execution
Input (English): 3, ['1051', '1501', '2833', '5643', 'J', '7633', '4545', 'w']
Output (English): 1051, 1501, 2833