uploaded problem 1