Improving SRP invoke by moving printing numbers to main