As part of a weight reduction program, a man designs a monthly exercise program consisting of bicycling, jogging, and swimming. He would like to exercise at most 30 hours, devote at most 7 hours to swimming, and jog for no more than the total number of hours bicycling and swimming. The calories burned by this person per hour by bicycling, jogging, and swimming are 200,415 , and 295 respectively. How many hours should be allotted to each activity to maximize the number of calories burned? What is the maximum number of calories he will burn?