Task: Program Execution
Input (English): a, 301, c, i, c, 323
Output (English): 0, 1, 2, 3