Task: Program Execution
Input (English): d, j, 461, 97, 413
Output (English): 1, 3, 4, 6, 7, 9