Natural numbers exercise