Defined the problem for problem 1