When I enter 1,2,2,4,5, -1, it doesn't work. It gives me 2.0 instead of 2.8 for some reason :(