Task: Program Execution
Input (English): u s N 9059 D E 3077 3169 3057 3643 7059 5823 T g 7211 299 8607 7337 647 T 3721 1701 975 1303 Q u N 557 A
Output (English): 1, 2, 3, 5, 6, 13, 14, 20, 25, 26, 27, 29