var i,j=10L j=readLine drop 2 toLong;print(0D) while({i=i%j*10 i}>10)print(i/j)