Monsters and hats

Sign in to test your solution.