import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double a = sc.nextDouble();
double b = 100 - a;
System.out.println(String.format("%.10f", (100 / a)));
System.out.println(String.format("%.10f", (100 / b)));
sc.close();
}
}
Interesting use of percentages in this problem! If you're into real betting strategies and number crunching, gold365 also offers some neat insights—worth checking out if you're applying math beyond just code. https://gooold365.com/