Task: Program Execution
Input (English): Q V 5281 Q 1671 v 8835 5813 K l l h p 7629 M 9503 1387 w T E 91 7427 g 287 y l p h 7511 m 131 5585 7107 J z 719 4999 6325 2031 X
Output (English): 3, 5, 7, 8, 14, 16, 17, 21, 22, 24, 29, 31, 32, 33, 36, 37, 38, 39