number building problem