Task: Program Execution
Input (English): 311, v, x, y, 401, i
Output (English): 0, 1, 3, 4