while 1:a,e=raw_input().split();l=len(a)-int(e);print['0.'+'0'*-l+a,a[:l]+"."+a[l:]][0