import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		BigDecimal A =new BigDecimal(sc.nextLong());
		BigDecimal B =new BigDecimal(sc.nextLong());
		BigDecimal oldTax =new BigDecimal("0.08");
		BigDecimal newTax =new BigDecimal("0.10");
		BigDecimal A_ans = A.divide(oldTax,RoundingMode.HALF_UP);
		BigDecimal B_ans = B.divide(newTax,RoundingMode.HALF_UP);
		MathContext mc = new MathContext(0,RoundingMode.HALF_UP);
		if (A_ans.compareTo(B_ans) >= 0) {
			if (B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			}
		}else {
			if (A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			}
		}

	}
} import java.math.BigDecimal; BigDecimal java.math import java.math.MathContext; MathContext java.math import java.math.RoundingMode; RoundingMode java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		BigDecimal A =new BigDecimal(sc.nextLong());
		BigDecimal B =new BigDecimal(sc.nextLong());
		BigDecimal oldTax =new BigDecimal("0.08");
		BigDecimal newTax =new BigDecimal("0.10");
		BigDecimal A_ans = A.divide(oldTax,RoundingMode.HALF_UP);
		BigDecimal B_ans = B.divide(newTax,RoundingMode.HALF_UP);
		MathContext mc = new MathContext(0,RoundingMode.HALF_UP);
		if (A_ans.compareTo(B_ans) >= 0) {
			if (B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			}
		}else {
			if (A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			}
		}

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		BigDecimal A =new BigDecimal(sc.nextLong());
		BigDecimal B =new BigDecimal(sc.nextLong());
		BigDecimal oldTax =new BigDecimal("0.08");
		BigDecimal newTax =new BigDecimal("0.10");
		BigDecimal A_ans = A.divide(oldTax,RoundingMode.HALF_UP);
		BigDecimal B_ans = B.divide(newTax,RoundingMode.HALF_UP);
		MathContext mc = new MathContext(0,RoundingMode.HALF_UP);
		if (A_ans.compareTo(B_ans) >= 0) {
			if (B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			}
		}else {
			if (A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			}
		}

	} main {
		Scanner sc = new Scanner(System.in);

		BigDecimal A =new BigDecimal(sc.nextLong());
		BigDecimal B =new BigDecimal(sc.nextLong());
		BigDecimal oldTax =new BigDecimal("0.08");
		BigDecimal newTax =new BigDecimal("0.10");
		BigDecimal A_ans = A.divide(oldTax,RoundingMode.HALF_UP);
		BigDecimal B_ans = B.divide(newTax,RoundingMode.HALF_UP);
		MathContext mc = new MathContext(0,RoundingMode.HALF_UP);
		if (A_ans.compareTo(B_ans) >= 0) {
			if (B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			}
		}else {
			if (A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			}
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) BigDecimal A =new BigDecimal(sc.nextLong()); A new BigDecimal(sc.nextLong()) BigDecimal B =new BigDecimal(sc.nextLong()); B new BigDecimal(sc.nextLong()) BigDecimal oldTax =new BigDecimal("0.08"); oldTax new BigDecimal("0.08") BigDecimal newTax =new BigDecimal("0.10"); newTax new BigDecimal("0.10") BigDecimal A_ans = A.divide(oldTax,RoundingMode.HALF_UP); A_ans A.divide(oldTax,RoundingMode.HALF_UP) A.divide A oldTax RoundingMode.HALF_UP RoundingMode RoundingMode.HALF_UP BigDecimal B_ans = B.divide(newTax,RoundingMode.HALF_UP); B_ans B.divide(newTax,RoundingMode.HALF_UP) B.divide B newTax RoundingMode.HALF_UP RoundingMode RoundingMode.HALF_UP MathContext mc = new MathContext(0,RoundingMode.HALF_UP); mc new MathContext(0,RoundingMode.HALF_UP) if (A_ans.compareTo(B_ans) >= 0) {
			if (B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			}
		}else {
			if (A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			}
		} A_ans.compareTo(B_ans) >= 0 A_ans.compareTo(B_ans) A_ans.compareTo A_ans B_ans 0 {
			if (B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			}
		} if (B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			} B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0 B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN) B_ans.multiply(oldTax,mc).setScale B_ans.multiply(oldTax,mc) B_ans.multiply B_ans oldTax mc 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN A 0 B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0 B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN) B_ans.multiply(newTax,mc).setScale B_ans.multiply(newTax,mc) B_ans.multiply B_ans newTax mc 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN B 0 {
				System.out.println(B_ans);
			} System.out.println(B_ans) System.out.println System.out System System.out B_ans if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			} A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0 A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN) A_ans.multiply(oldTax,mc).setScale A_ans.multiply(oldTax,mc) A_ans.multiply A_ans oldTax mc 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN A 0 A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0 A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN) A_ans.multiply(newTax,mc).setScale A_ans.multiply(newTax,mc) A_ans.multiply A_ans newTax mc 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN B 0 {
				System.out.println(A_ans);
			} System.out.println(A_ans) System.out.println System.out System System.out A_ans {
				System.out.println(-1);
			} System.out.println(-1) System.out.println System.out System System.out -1 1 {
			if (A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			}
		} if (A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			} A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0 A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN) A_ans.multiply(oldTax,mc).setScale A_ans.multiply(oldTax,mc) A_ans.multiply A_ans oldTax mc 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN A 0 A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0 A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN) A_ans.multiply(newTax,mc).setScale A_ans.multiply(newTax,mc) A_ans.multiply A_ans newTax mc 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN B 0 {
				System.out.println(A_ans);
			} System.out.println(A_ans) System.out.println System.out System System.out A_ans if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			} B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0 B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN) B_ans.multiply(oldTax,mc).setScale B_ans.multiply(oldTax,mc) B_ans.multiply B_ans oldTax mc 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN A 0 B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0 B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN) B_ans.multiply(newTax,mc).setScale B_ans.multiply(newTax,mc) B_ans.multiply B_ans newTax mc 0 RoundingMode.DOWN RoundingMode RoundingMode.DOWN B 0 {
				System.out.println(B_ans);
			} System.out.println(B_ans) System.out.println System.out System System.out B_ans {
				System.out.println(-1);
			} System.out.println(-1) System.out.println System.out System System.out -1 1 String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		BigDecimal A =new BigDecimal(sc.nextLong());
		BigDecimal B =new BigDecimal(sc.nextLong());
		BigDecimal oldTax =new BigDecimal("0.08");
		BigDecimal newTax =new BigDecimal("0.10");
		BigDecimal A_ans = A.divide(oldTax,RoundingMode.HALF_UP);
		BigDecimal B_ans = B.divide(newTax,RoundingMode.HALF_UP);
		MathContext mc = new MathContext(0,RoundingMode.HALF_UP);
		if (A_ans.compareTo(B_ans) >= 0) {
			if (B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			}
		}else {
			if (A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			}
		}

	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		BigDecimal A =new BigDecimal(sc.nextLong());
		BigDecimal B =new BigDecimal(sc.nextLong());
		BigDecimal oldTax =new BigDecimal("0.08");
		BigDecimal newTax =new BigDecimal("0.10");
		BigDecimal A_ans = A.divide(oldTax,RoundingMode.HALF_UP);
		BigDecimal B_ans = B.divide(newTax,RoundingMode.HALF_UP);
		MathContext mc = new MathContext(0,RoundingMode.HALF_UP);
		if (A_ans.compareTo(B_ans) >= 0) {
			if (B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			}
		}else {
			if (A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			}
		}

	}
} Main
import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		BigDecimal A =new BigDecimal(sc.nextLong());
		BigDecimal B =new BigDecimal(sc.nextLong());
		BigDecimal oldTax =new BigDecimal("0.08");
		BigDecimal newTax =new BigDecimal("0.10");
		BigDecimal A_ans = A.divide(oldTax,RoundingMode.HALF_UP);
		BigDecimal B_ans = B.divide(newTax,RoundingMode.HALF_UP);
		MathContext mc = new MathContext(0,RoundingMode.HALF_UP);
		if (A_ans.compareTo(B_ans) >= 0) {
			if (B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else if(A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else {
				System.out.println(-1);
			}
		}else {
			if (A_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && A_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(A_ans);
			}else if(B_ans.multiply(oldTax,mc).setScale(0, RoundingMode.DOWN).compareTo(A) == 0 && B_ans.multiply(newTax,mc).setScale(0, RoundingMode.DOWN).compareTo(B) == 0) {
				System.out.println(B_ans);
			}else {
				System.out.println(-1);
			}
		}

	}
}