In triangle EFG the measure of angle E is four times the measure if angle F. The measure of angle G is 18 degrees less than the measure of angle E. What is the measure of each angle?