A gentleman decided to distribute sweets to kids in his town. Out of the 612 children in his town, half of the girls and three fourth of the boys were present to take the sweets. The man distributed 12 sweets to each girl and 12 sweets to each boy. Determine the total sweets distributed by him?