Input (grade 8): A pirate code is a code of conduct invented for governing pirates.
Output (grade 4): A pirate code is a code of conduct for pirates.