Task: Program Execution
Input (English): r, 101, 41, d, n, 389, 475, s, c, 361
Output (English): 0, 1, 3, 4, 5, 6, 7, 8, 9