Task: Program Execution
Input (English): j, 471, 405
Output (English): 0, 1, 4, 5, 7