Task: Program Execution
Input (English): 2, 6, ['G', 'Z', 'u', '3057', 'F', '3811', '7603', 'O', '8365', '1819', '9583', 'j', 'P', 'J', 'y', '7101', '6121']
Output (English): Z, O, J