import java.util.*; import java.io.*; import static java.util.Arrays.*; import static java.lang.Math.*; public class No0221 { static final Scanner in = new Scanner(System.in); static final PrintWriter out = new PrintWriter(System.out,false); static void solve() { double n = in.nextInt(); double x = (1000000 - n*100)*0.01; double y = 100*n*0.99; out.println(x/(x+y)*100); } public static void main(String[] args) { long start = System.currentTimeMillis(); solve(); out.flush(); long end = System.currentTimeMillis(); //trace(end-start + "ms"); in.close(); out.close(); } static void trace(Object... o) { System.out.println(Arrays.deepToString(o));} }