import time, math
t1 = time.clock()
a = 3**3000000
t2 = time.clock()
print t2 - t1
print math.log10(a)
