Task: Program Execution
Input (English): Z L 3511 g z 4073 M 771 6741 7973 5213 4879 2733 2515 2699 1979 g 4293 1867 1915 4653 k X P 6531 O 8639 W 861 381 7931 9347 695 Z 7241 4301
Output (English): 3, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 18, 19, 20, 21, 25, 27, 29, 30, 31, 32, 33, 35, 36