This key bit of information seems to be missing in the originally posted problem, which your link clarifies!