A gallon of paint will cover approximately 350 square feet and artist wants to paint all the outside surfaces of a cube measuring 10 feet on each edge what is the least number of gallons of paint he must buy to paint the cube?