Task: Program Execution
Input (English): 3, 6, ['9341', 'k', 'r', '9519', '9395', '5329', 'h', '6889', 'X', 'O', 'k', '3805', 'l', 'E', 'G', '9829', 'N', '8885', '1169']
Output (English): r, X, G