Task: Program Execution
Input (English): c, 161, 149, e, f, 391, 467
Output (English): 1, 3, 4, 6, 7, 9