Task: Program Execution
Input (English): A f B P b 8849 O 1423 7029 e S S O 5243 q 2729 1781 i 9379 2997 o I 8633 4711 1447 L a h 8467 Z t h 3019 7721 I 5327 P
Output (English): 6, 8, 9, 14, 16, 17, 19, 20, 23, 24, 25, 29, 33, 34, 36