import java.util.Scanner; public class Main { public static void main (String[] args) { Scanner scanner = new Scanner(System.in); double D = scanner.nextInt(); double P = scanner.nextInt(); if(D < 1 || D > Math.pow(10, 7) || P < 0 || P > 100) { System.out.println("Please input D between 1 and 10000000, and input P between 0 and 100"); } else { System.out.println((int)(D*(1+P/100))); } } }