Click the leaves and drag them to the vent. Click the flag to randomize the positions of the leaves and reset the task.
If you wanna use this code for a game, I'd appreciate it if you'd credit me.