Project Euler 123

@see http://projecteuler.net/index.php?section=problems&id=123