Solved Project Euler #1 on HackerRank got 60 points