Task: Program Execution
Input (English): 3, 9, ['6087', 'c', 'n', '6859', '2047', 'c', 'Z', '2811', '3573', '285', 'f', 'G', '3095', 'H', '1373', 'o', 'y', '3985']
Output (English): n, G