Task: Program Execution
Input (English): 657 H Y q L z 2981 8229 6199 7849 9029 7957 3933 9823 5541 B H 8861 r 497 j 8333 M I 4719 1635 4637 t Y 8849 5589 M L M x P 155
Output (English): 2, 3, 4, 5, 6, 16, 17, 19, 21, 23, 24, 28, 29, 32, 33, 34, 35, 36