Added observation to problem 440
Faster algorithm for problem 440