Task: Text Categorization
Input (English): The main character of this novel is the captain of a ship belonging to Pierre Morrel. The jealous Danglars and Fernand Mondego, who craves the beautiful Mercedes, cause him to be brought before Villefort, a royal prosecutor, who consigns him to the Chateau DIf to safeguard his own career. However, Edmond Dantes escapes the prison and creates an alias using a treasure revealed to him by a fellow prisoner. FTP name this novel in which the namesake nobleman visits revenge upon those who unjustly imprisoned him, a work of Alexandre Dumas.
Output (English): Literature