Task: Program Execution
Input (English): 2, 2, ['x', 'f']
Output (English): 0