Upto problem 3