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