Task: Program Execution
Input (English): 189, 363, 107, 29, 497, 247, c, s, g, 475, q
Output (English): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9