Task: Program Execution
Input (English): 1, 103, m, v, 409
Output (English): 0, 1, 3, 4, 9