Task: Program Execution
Input (English): M 1387 9389 6809 5637 6257 y T 2727 G 427 5661 5027 1603 g 8853 f D F 1943 9833 O c l 189 x 4435 b a 327 u
Output (English): 2, 3, 4, 5, 6, 9, 11, 12, 13, 14, 16, 20, 21, 25, 27, 30