Whoa, I never knew about `setdefault`! I'll use it.