Task: Program Execution
Input (English): a 2987 c B X E 8967 Q g g 3915 o 5619 u 6525 Q 347 M t I 5183 2609 233 3929 U 7427 E Q 6145 3107 O 783 7393 353 e b r q S 6813
Output (English): 2, 7, 11, 13, 15, 17, 21, 22, 23, 24, 26, 29, 30, 32, 33, 34, 40