Task: Program Execution
Input (English): M 7585 3767 4237 I Y 5157 5109 297 3375 Q 5009 c 2681 I 4881 v k u 6595 7351 B 7557 8849 6513 969 2749 f F F j l 6531 K 889 h
Output (English): 1, 5, 6, 11, 13, 15, 17, 18, 19, 22, 28, 29, 30, 31, 32, 34, 36