Carter graduated 59th out of 820 midshipmen at the Naval Academy with a Bachelor of Science degree with an unspecified major , as was the custom at the academy at that time .
Carter graduated 59th out of 820 midshipmen at the Naval Academy .