import java.math.BigDecimal; import java.util.Scanner; public class HelloWorld { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); BigDecimal bigA=sc.nextBigDecimal(); BigDecimal bigB=sc.nextBigDecimal(); try { if (bigA.divide(bigB) != null) System.out.println("No"); } catch (Exception e) { System.out.println("Yes"); } } }