Java8でProject Euler Problem 1