Task: Program Execution
Input (English): x M x F 3187 V 389 263 9853 x 8623 667 d k 9291 8199 9245 3367 l X i 6189 l 2811 7795 l 3189 M 99 y x 1055 X 1453 7375 b 3737
Output (English): 1, 2, 3, 4, 6, 10, 13, 14, 19, 20, 21, 23, 26, 28, 30, 31, 33, 36