Task: Program Execution
Input (English): 1583, 8267, 117, 2317, Y, 5219, U, P
Output (English): 1, 2, 3, 4, 6