Admission to a local aquarium is $10 for adults and S7 for children. The aquarium collected $6,459 from the sale of 783 tickets. How many childrens tickets were sold?

(1) 326
(2) 362
(3) 417
(4) 457​