Task: Program Execution
Input (English): M 7277 o 611 3835 5057 K 6565 2133 447 f F 6947 I 1011 601 6557 o V 9939 X J M 7839 5889 k t 2119 9749 1573
Output (English): 1, 3, 7, 11, 12, 14, 18, 19, 21, 22, 23, 26, 27