import java.math.BigDecimal; import java.math.RoundingMode; import java.util.Scanner; public class Main { static int toIntMultiplication(int a, double b) { BigDecimal bda = BigDecimal.valueOf(a); BigDecimal bdb = BigDecimal.valueOf(b); BigDecimal value = bda.multiply(bdb).setScale(1, RoundingMode.DOWN); return value.intValue(); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int d = sc.nextInt(); double p = sc.nextDouble() / 100 + 1; System.out.println(toIntMultiplication(d, p)); } }