import math while~0:print"%g"%math.log(*map(int,raw_input().split()))