Output numbers implementation