Task: Program Execution
Input (English): 405, x, 163, z, z, 261, o
Output (English): 0, 1, 2, 3, 4, 5, 6