At the local BrainBashers Sunday School meeting, the teacher brought in some puppies.
There were 20 more children than puppies.
In the corner of the room, within the ant's nest, the number of ants was 10 times the number of children.
In total, including the teacher, the children, the puppies, and the ants, there were 1440 legs in the room.
How many children attended?