Task: Program Execution
Input (English): e, d, 17, 207, 107, i, q, m, 217, 249
Output (English): 0, 1, 2, 4, 7, 9