Task: Program Execution
Input (English): s, 3449, 1997, 3989, U, z, 3031, 517, S, u, 797, 4255, 7727, 5823
Output (English): 1, 5, 6, 9, 10