Task: Program Execution
Input (English): M 8995 Q L N 7639 8757 H Q 45 5735 m 6281 c D S 393 8971 v 3571 9235 7023 x 7439 Z c 2249 O j 6749
Output (English): 2, 6, 7, 10, 11, 13, 17, 18, 20, 21, 22, 24, 27, 30