### Some numbers are weird; others are happy

Some numbers are weird; others are happy. If you would like to find out if a given number is happy, you will need to perform the following set of operations. Lets take the number 44:

First, square each digit, then add them together: 42 + 42 = 16 + 16 = 32

Then, we will do it again with our new number: 32 + 22 = 9 + 4 = 13

And again: 12 + 32 = 1 + 9 = 10

And finally: 12 + 02 = 1 + 0 = 1

It's a happy number! Anytime you take a number, perform this "procedure," and eventually arrive at the number 1, you have yourself a happy number. If your number never reaches 1, then sadly, its unhappy. Interestingly, happy number are extremely common; there are 11 of them between 1 and 50, for example. As a final note, the greatest happy number with no recurring digits is 986,543,210. That is a happy number indeed.