Task: Program Execution
Input (English): 5547 4059 H P 6869 5281 5979 O c 6747 J 2191 6739 4535 6173 6737 h v Q 6819 7127 7883 q V n 5119 7949 u 7757 5165 s o 1411 8681 4823 3001 M 7901
Output (English): 1, 2, 5, 6, 7, 10, 12, 13, 14, 15, 16, 20, 21, 22, 26, 27, 29, 30, 33, 34, 35, 36, 38