first solution to p33