def rice(): print "Square", "Grains" amount = 1 for s in range(1,65): print s, amount amount = amount * 2