[tex]n,\ n+1-\text{ two consecutive whole numbers}\\57-\text{the sum}\\\\n+n+1=57\qquad\text{subtract 1 from both sides}\\2n=56\qquad\text{divide both sides by 2}\\n=28\\\\n+1=28+1=29\\\\Answer:\ \boxed{\text{The greater of the two numbers is 29}}[/tex]