Complete Solution of the Ladder Problem in Integers