Task: Program Execution
Input (English): d 133 i N v 3181 i 4067 a u 2073 4269 5357 5477 4369 h S 3369 1855 6459 p 327 709 8245 2107 6601 u c 8827
Output (English): 1, 3, 4, 5, 7, 9, 10, 16, 17, 21, 27, 28