Task: Program Execution
Input (English): u P Q 3597 j p W 5611 7295 n L u o d 5901 X 2903 Y 7445 n 2893 M W 9849 l 5677 I 7547 1035 29 2517 4741 E b 4831 1213
Output (English): 1, 2, 3, 5, 6, 7, 10, 11, 12, 13, 14, 16, 18, 20, 22, 23, 25, 27, 33, 34