Task: Program Execution
Input (English): c, 391, 101, h
Output (English): 0, 1, 3, 9