l=math.log;r=io.read while""do print(l(r"*n")/l(r()))end