Math Bdays exercise.