import time
def test(x):
t1 = time.clock()
a = 0
for i in range(x):
a += 1
t2 = time.clock()
print("Time for {} was {}".format(x, t2 - t1))
return x
print(test(100000000))
aW1wb3J0IHRpbWUKZGVmIHRlc3QoeCk6CiAgICB0MSA9IHRpbWUuY2xvY2soKQogICAgYSA9IDAKICAgIGZvciBpIGluIHJhbmdlKHgpOgogICAgICAgIGEgKz0gMQogICAgdDIgPSB0aW1lLmNsb2NrKCkKICAgIHByaW50KCJUaW1lIGZvciB7fSB3YXMge30iLmZvcm1hdCh4LCB0MiAtIHQxKSkKICAgIHJldHVybiB4CgpwcmludCh0ZXN0KDEwMDAwMDAwMCkp