Task: Program Execution
Input (English): 415, 431, 19, 97, 329, 411, d, t, o, m, p
Output (English): 1, 2, 3, 4, 5, 7, 9