import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); double n = sc.nextInt(); double all = 10000; double rate = (all - n) * 0.01 / ((all - n) * 0.01 + n * 0.99) * 100; System.out.println(rate); } }