Task: Program Execution
Input (English): 121, 267, l, 491
Output (English): 1, 2, 4, 6, 7, 9