A group of students noticed the shadow of the flagpole was 47 feet long at the same time a person 6 feet tall cast a shadow 7 feet long. What is the height of the flagpole to the nearest foot?