Task: Program Execution
Input (English): 369, 251, 317, 131, j, 313, e
Output (English): 1, 2, 3, 5, 6, 7, 9