Task: Program Execution
Input (English): v, 1573, 4897, 5541, 605, v, V
Output (English): 22, 1573, 4897, 5541, 605, 22, 22