Task: Program Execution
Input (English): w, 1503, 4725, 2579, 7101, 7585, U, E
Output (English): 2, 3, 4, 5, 6