Walmart interview question

Print jumping numbers