Task: Program Execution
Input (English): 6357 P e P 2999 B j o L 5157 C s h 3919 h P 8107 8617 q 6911 8471 h 3329 6733 g
Output (English): 1, 5, 10, 14, 17, 18, 20, 21, 23, 24