Task: Question Understanding
Input (English): Context : Thomas Cahey (April 13, 1870 -- January 5, 1935) was a United States Navy sailor and a recipient of the United States military's highest decoration, the Medal of Honor. 
Question : Which military did Thomas Cahey serve with?
Output (English): military branch