Whats wrong here


actually it is not working fine for
2
4
10 20 30 40