Sentence:  He was <WSD>doing</WSD> thirty years , and the Navy would take care of him . 
Meaning of the word marked with <WSD> tags:  spend time in prison or in a labor camp