Task: Program Execution
Input (English): 27, 241, 123, c, d, 397, f, p
Output (English): 1, 2, 3, 4, 7, 9