Task: Program Execution
Input (English): e, j, 429, r, f, 17
Output (English): 1, 2, 4, 7, 9