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