Task: Program Execution
Input (English): 13, 225, r, 301, 103, 349
Output (English): 0, 1, 2, 3, 4, 5, 9