print(0, 10**0)
print(1, 10**1)
print(2, 10**2)
print(3, 10**3)
print(4, 10**4)
print(5, 10**5)

print('{0} {1}'.format(6, 10**6))
print('{0} {1}'.format(7, 10**7))

print ( '--------------------------------')

print('{0:>3} {1:>16}'.format(0, 10**1))
print('{0:>3} {1:>16}'.format(1, 10**2))
print('{0:>3} {1:>16}'.format(2, 10**3))
print('{0:>3} {1:>16}'.format(3, 10**4))