a,b=input().split() a=float(a) b=int(b) sum=0.0 for i in range(b): sum=sum+a a=a**(0.5) print('%0.2f'%sum)