Task: Program Execution
Input (English): c, 433, 105, g, d
Output (English): 0, 1, 3, 4, 5