<P> The most recent graduating class, that of 2017, inducted exactly 1,200 midshipmen in 2013 and graduated 1,053 in 2017 . 768 were commissioned as Navy Ensigns and 259 as Marine 2nd Lieutenants . This graduating class was composed of 242 women and 811 men Since 1959, midshipmen have also been eligible for an interservice commission in the Air Force or Army, provided they meet that service's eligibility standards . Starting in 2004, midshipmen also became eligible to seek Coast Guard commissions . Every year, a small number of graduates do this--typically three or four . In 2017, two members of the class were commissioned as Air Force 2nd Lieutenants . A small number of foreign students are admitted each year . In 2017, 17 foreign midshipmen were graduated . </P> <P> At the beginning of their second - class year, midshipmen make their commitment, also known as signing their "2 - for - 7 ." This represents a commitment to finish two years at the academy and then an additional five years on active duty . Upon graduation, midshipmen are obligated to serve at minimum 5 years of service after graduation . Those selected for post-graduate education will continue concurrently with their commissioning obligation for officers in the U.S. Navy and consecutively for officers in the U.S. Marine Corps . </P> <P> Midshipmen who entered the academy from civilian life and who resign or are separated from the academy in their first two years incur no military service obligation . Those who are separated--voluntarily or involuntarily--after that time are required to serve on active duty in an enlisted capacity, usually for two to four years . Alternatively, separated former midshipmen can reimburse the government for their educational expenses, though the sum is often in excess of $150,000 . The decision whether to serve enlisted time or reimburse the government is at the discretion of the Secretary of the Navy . Midshipmen who entered the academy from the enlisted ranks return to their enlisted status to serve the remainder of their enlistment . </P> <P> The Navy operates the Naval Postgraduate School and the Naval War College separately . The Naval Academy Preparatory School (NAPS), in Newport, Rhode Island, is the official prep school for the Naval Academy . The Naval Academy Foundation provides post-graduate high school education for a year of preparatory school before entering the academy for a very limited number of applicants . There are several preparatory schools and junior colleges throughout the United States that host this program . </P>

Do you have to go into the navy if you go to the naval academy
find me the text answering this question