Task: Program Execution
Input (English): 1, 2, ['P', 'K']
Output (English): KP