Task: Program Execution
Input (English): n, i, i, 131, 395, 155, s, 307, d, 149, x, 311, v
Output (English): 0, 1, 3, 4, 5, 7, 9