1,047 men and women, including 603 Navy ensigns and 223 Marine Corps second lieutenants graduated in the presence of President Obama.