Task: Program Execution
Input (English): 2, 2, ['i', '6733', '3797', 'G', '177']
Output (English): 6733