Task: Program Execution
Input (English): i, 315, d, 255, r
Output (English): 1, 2, 3, 5