Task: Program Execution
Input (English): p, 171, 489, l, 421, 275
Output (English): 1, 2, 4, 5, 7, 8, 9