Task: Program Execution
Input (English): 2993 3269 q D s 4049 561 4415 7245 3135 9265 U 9605 7079 R 5439 1593 D T 21 V 4057 O N 9245 N Q 15 9561 2549 S 2427 8291 L g 4539
Output (English): 3, 4, 5, 12, 15, 18, 19, 21, 23, 24, 26, 27, 31, 34, 35