Task: Program Execution
Input (English): 6513, 5159, V, 329, 3639, 7179, N
Output (English): 1, 2, 4, 5, 6