D. Beautiful Pairs of Numbers