Task: Program Execution
Input (English): 13, 217, m, 13, 249, 419, s, j, s
Output (English): 1, 2, 3, 4, 7, 9