package no221;

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double p = sc.nextInt() / 10000D;
		double tp = p * 0.99;
		double fp = (1-p) * 0.01;
		System.out.println(fp / (tp + fp) * 100);
	}

}