Input: who was president when the us navy department was established?
Output: William McKinley