You will be given a definition of a task first, then some input 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.

A work based on this play opens with two minor characters from this play flipping a coin, which repeatedly comes up heads. One character in this play advises another character to ""neither a borrower nor a lender be. "" The title character mourns a ""fellow of infinite jest,"" Yorick, in this play's ""graveyard scene. "" He also kills Laertes in a swordfight and tells Ophelia to ""get thee to a nunnery. "" For 10 points, name this Shakespearean tragedy in which ""something is rotten in the state of Denmark. ""
Output:
Literature