Task: Program Execution
Input (English): 2, 3, ['G', 'A', 'I', '1981', '9657', '779', 'Y', '3901', 'd', 'i', '8993', '1205', '3589', 'J', '6189', '1221']
Output (English): A, I