System.in.eachLine{a->18.times{a=Math.sin((60939>>it)*Math.PI/2+a.toDouble())}printf"%f\n",a}