Task: Program Execution
Input (English): 4, ['g', 'p', '6317', 'l', '5779', '7267', '2123', 'J', '501']
Output (English): g, p, 6317, l, 5779