Day 1 Puzzle

Fix the function so that solve() returns 7.

🎉 You put the fun in function.