Use the correct range
Add another solution using reduce