A quick solution to Problem H from the 1995 ACM Scholastic Programming Finals.