<reponame>Riteme/test
#!/usr/bin/python3

print(100000)
for i in range(1, 100000):
    print(i, i + 1)

#!/usr/bin/python3

print(100000)
for i in range(1, 100000):
    print(i, i + 1)
#!/usr/bin/python3