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