Task: Program Execution
Input (English): 6, ['J', '5177', '7631', '8817', '6285', 'Y', '4185', '8429', '5653', 'h', 'R', '4955']
Output (English): 4185, 8429, 5653, h, R, 4955