Simple mechanics of problem solving