package yukiCoder; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class No00056 { public static void main(String[] args) { BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); String[] input = new String[2]; try { input = bufferedReader.readLine().split(" "); Long cost = Long.parseLong(input[0]); double tax = Double.parseDouble(input[1]) * 0.01; System.out.println(calculation(cost, tax)); } catch (IOException e) { e.printStackTrace(); } } public static Long calculation(long cost, double tax) { return (long) (cost + cost * tax); } }