procect euler problem 1 written on (mostly) one line.