Task: Program Execution
Input (English): M 4935 5605 8415 6969 7921 6479 1305 2899 l h 8981 6643 T R l z J 2557 Q 9081 8401 9027 k U 7367 k l 8571 3803 7407 L P V a 1113 F 8603
Output (English): 1, 10, 11, 14, 15, 16, 17, 18, 20, 24, 25, 27, 28, 32, 33, 34, 35, 37