import java.util.Scanner; import java.math.BigDecimal; class main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); double v = scan.nextDouble(); int t = scan.nextInt(); BigDecimal bigv = BigDecimal.valueOf(v); BigDecimal bigt = BigDecimal.valueOf(t); System.out.println(bigv.multiply(bigt).intValue()); } }