import java.util.*;
import java.math.*;
public class Main {
     public static String mul(String v1, String v2, int scale) {
        if (scale < 0) {
            throw new IllegalArgumentException(
                    "The scale must be a positive integer or zero");
        }
        BigDecimal b1 = new BigDecimal(v1);
        BigDecimal b2 = new BigDecimal(v2);
        return b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN).toString();
    }
    public static void main(String[] args)
    {
       Scanner input =new Scanner(System.in);
String str1=input.next();
        String str2=input.next();//会从控制5261台读入一4102个字符串，1653以空格版为标志权
        Main c=new Main();
        System.out.println(c.mul(str1,str2,0));

    }
} import java.util.*; util.* java import java.math.*; math.* java public class Main {
     public static String mul(String v1, String v2, int scale) {
        if (scale < 0) {
            throw new IllegalArgumentException(
                    "The scale must be a positive integer or zero");
        }
        BigDecimal b1 = new BigDecimal(v1);
        BigDecimal b2 = new BigDecimal(v2);
        return b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN).toString();
    }
    public static void main(String[] args)
    {
       Scanner input =new Scanner(System.in);
String str1=input.next();
        String str2=input.next();//会从控制5261台读入一4102个字符串，1653以空格版为标志权
        Main c=new Main();
        System.out.println(c.mul(str1,str2,0));

    }
} Main public static String mul(String v1, String v2, int scale) {
        if (scale < 0) {
            throw new IllegalArgumentException(
                    "The scale must be a positive integer or zero");
        }
        BigDecimal b1 = new BigDecimal(v1);
        BigDecimal b2 = new BigDecimal(v2);
        return b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN).toString();
    } mul {
        if (scale < 0) {
            throw new IllegalArgumentException(
                    "The scale must be a positive integer or zero");
        }
        BigDecimal b1 = new BigDecimal(v1);
        BigDecimal b2 = new BigDecimal(v2);
        return b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN).toString();
    } if (scale < 0) {
            throw new IllegalArgumentException(
                    "The scale must be a positive integer or zero");
        } scale < 0 scale 0 {
            throw new IllegalArgumentException(
                    "The scale must be a positive integer or zero");
        } throw new IllegalArgumentException(
                    "The scale must be a positive integer or zero"); new IllegalArgumentException(
                    "The scale must be a positive integer or zero") BigDecimal b1 = new BigDecimal(v1); b1 new BigDecimal(v1) BigDecimal b2 = new BigDecimal(v2); b2 new BigDecimal(v2) return b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN).toString(); b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN).toString() b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN).toString b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN) b1.multiply(b2).setScale b1.multiply(b2) b1.multiply b1 b2 scale BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN String v1 v1 String v2 v2 int scale scale public static void main(String[] args)
    {
       Scanner input =new Scanner(System.in);
String str1=input.next();
        String str2=input.next();//会从控制5261台读入一4102个字符串，1653以空格版为标志权
        Main c=new Main();
        System.out.println(c.mul(str1,str2,0));

    } main {
       Scanner input =new Scanner(System.in);
String str1=input.next();
        String str2=input.next();//会从控制5261台读入一4102个字符串，1653以空格版为标志权
        Main c=new Main();
        System.out.println(c.mul(str1,str2,0));

    } Scanner input =new Scanner(System.in); input new Scanner(System.in) String str1=input.next(); str1 input.next() input.next input String str2=input.next(); str2 input.next() input.next input Main c=new Main(); c new Main() System.out.println(c.mul(str1,str2,0)) System.out.println System.out System System.out c.mul(str1,str2,0) c.mul c str1 str2 0 String[] args args public class Main {
     public static String mul(String v1, String v2, int scale) {
        if (scale < 0) {
            throw new IllegalArgumentException(
                    "The scale must be a positive integer or zero");
        }
        BigDecimal b1 = new BigDecimal(v1);
        BigDecimal b2 = new BigDecimal(v2);
        return b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN).toString();
    }
    public static void main(String[] args)
    {
       Scanner input =new Scanner(System.in);
String str1=input.next();
        String str2=input.next();//会从控制5261台读入一4102个字符串，1653以空格版为标志权
        Main c=new Main();
        System.out.println(c.mul(str1,str2,0));

    }
} public class Main {
     public static String mul(String v1, String v2, int scale) {
        if (scale < 0) {
            throw new IllegalArgumentException(
                    "The scale must be a positive integer or zero");
        }
        BigDecimal b1 = new BigDecimal(v1);
        BigDecimal b2 = new BigDecimal(v2);
        return b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN).toString();
    }
    public static void main(String[] args)
    {
       Scanner input =new Scanner(System.in);
String str1=input.next();
        String str2=input.next();//会从控制5261台读入一4102个字符串，1653以空格版为标志权
        Main c=new Main();
        System.out.println(c.mul(str1,str2,0));

    }
} Main
import java.util.*;
import java.math.*;
public class Main {
     public static String mul(String v1, String v2, int scale) {
        if (scale < 0) {
            throw new IllegalArgumentException(
                    "The scale must be a positive integer or zero");
        }
        BigDecimal b1 = new BigDecimal(v1);
        BigDecimal b2 = new BigDecimal(v2);
        return b1.multiply(b2).setScale(scale, BigDecimal.ROUND_DOWN).toString();
    }
    public static void main(String[] args)
    {
       Scanner input =new Scanner(System.in);
String str1=input.next();
        String str2=input.next();//会从控制5261台读入一4102个字符串，1653以空格版为标志权
        Main c=new Main();
        System.out.println(c.mul(str1,str2,0));

    }
}
