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