Task: Program Execution
Input (English): w, 355, 405, n, w, m, i, 45
Output (English): 0, 3, 4, 5