inputted problem to solve