Task: Text Categorization
Input (English): This man's wedding was interrupted by an army led by Agenor, and he exchanged kingdoms with Megapenthes in order to reign in Tiryns. Raised on the island of Seriphos, this figure was once asked to contribute a horse by a man who actually had no intention to marry Hippodameia. He accidentally killed his grandfather with a discus; that man, King Acrisius, had earlier put him in a chest that was set adrift and was eventually found by the fisherman Dictys. This son of Zeus and Danae saved Andromeda from a sea monster while on his way home from a quest in which he used a mirror-like shield to behead a figure with serpents for hair. For 10 points, name this hero who slew Medusa.
Output (English): History