You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.

In one work this author details the life of a tomb-maker who makes extra money by playing the organ at an insane asylum, while another of his novels sees Swartz give a refugee proper documentation only after he tells him his life story in the title Portuguese city. In addition to The Black Obelisk and The Night in Lisbon, he also wrote about Robert and Otto selling their auto workshop and visiting Patrice in a Swiss tuberculosis sanatorium in his novel The Three Comrades, while the turbulent life of the German surgeon Ravic is told in The Arch of Triumph. Another of his novels, The Road Back, is thought to be a sequel to his most famous book, in which the patriotic teacher Kantorek convinces Paul Bumer and his friends to join the Germany Army during World War I. For 10 points, name this German author who wrote All Quiet on the Western Front.
Solution: Literature
Why? The text is talking about an author and their works, so it belongs to theliterature category.

New input: This man's only Supreme Court appointment was that of his Naval Secretary, Smith Thompson. While this man was president, the Choctaw chief Pushmataha ceded territory to the U. S. in the Treaties of Doak's Stand and Washington City. Another treaty during his presidency established the Sabine and Red Rivers as borders with New Spain and ceded Florida to the U. S. That treaty, the Adams-Onis Treaty, was negotiated by this man's Secretary of State, John Quincy Adams. Upon the collapse of the Federalists, this man ran for reelection unopposed. For 10 points, name this fifth U. S. President, whose namesake doctrine told Europe to stay out of American affairs.
Solution:
History