Task: Program Execution
Input (English): 2, 5, ['8651', '1045', '2043', '4615', 'G']
Output (English): G, 4615, 2043, 1045