var d:comp;begin repeat read(d);writeln(8.1758*2**(d/12):0:2)until 0=1end.