标签:zzul1073,Java,Scanner,int,System,sc From: https://www.cnblogs.com/liandaozhanshi/p/17100009.html
import java.util.Scanner;
/**
* 限制解是正数,且脚数为偶数即可
*/
public class zzul1073 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int m = sc.nextInt(),
n = sc.nextInt();
int x = (4*m - n)/2;
int y = (n - 2*m)/2;
if(x > 0 && y > 0 && n % 2 == 0){
System.out.println(x+" "+ y);
}else
System.out.println("No Answer");
}
}