Task: Program Execution
Input (English): 355, 365, y, v, 267, d
Output (English): 2, 3, 5, 6, 7