Input (grade 13): Hindenburg remained in office until his death at the age of 86 from lung cancer at his home in Neudeck, East Prussia on 2 August 1934 (exactly two months short of his 87th birthday).
Output (grade 9): Hindenburg stayed president until he died from lung cancer at his home in Neudeck, East Prussia on 2 August 1934.