Task: Program Execution
Input (English): 267, 417, 247, u
Output (English): 1, 2, 4, 6, 7