Task: Program Execution
Input (English): D 1361 g 2021 9501 2261 k 3897 267 q r U f u 4147 4231 4405 2383 J 7305 5711 c I 6859 Q 5871
Output (English): 2, 4, 5, 6, 8, 9, 15, 16, 17, 18, 20, 21, 24, 26