In order to learn how to fly a plane, I must
spend 50 hours in flight training: several
hours of training must be with an instructor,
and the rest of my training hours must be in
a flight simulator. I can only afford to spend
$3496 for training, and the instructor
charges $98 per hour while the simulator
only costs $46 per hour. How many hours
should I spend in each type of training?