Task: Program Execution
Input (English): 2, ['8795', '4021', '7929', '5907', '5475', 'R', 'g', '4795', '5149', 's', '5763', 'b', '4997', 'p', 'h', '3107', 'w', '1957']
Output (English): 8795, 4021