Task: Program Execution
Input (English): 17 w 6417 W R f e V g 2511 y 8983 f F 7605 h d 7913 h L o y 2697 d 5621 1769 5685 3187 8487 U 2865 9837 8851 1 I 8565 o 43 f
Output (English): 1, 3, 10, 12, 15, 18, 23, 25, 26, 27, 28, 29, 31, 32, 33, 34, 36, 38