Task: Program Execution
Input (English): 563 Z H G e 5107 a 5955 m 3739 U X G F K 7311 2955 6649 9017 k d 4247 R 1433 r 5551 8681 Y q
Output (English): 2, 3, 4, 5, 7, 9, 11, 12, 13, 14, 15, 20, 21, 23, 25, 28, 29