Task: Program Execution
Input (English): 3, 4, ['9275', 'z', 'G', '8007', '3185']
Output (English): G, 8007