Homework #3

Excellent use of `in` here especially when the domain is known.