Task: Program Execution
Input (English): 7105 6273 I H s n w 5921 h 5281 8799 8889 2133 1087 d 2017 2483 3905 p x 2731 5067 9851 941 1339 6533 3153 q H 801 p 2289
Output (English): 1, 2, 8, 10, 11, 12, 13, 14, 16, 17, 18, 21, 22, 23, 24, 25, 26, 27, 30, 32