1073: 再谈鸡兔同笼问题
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner cin = new Scanner(System.in);int a=cin.nextInt();int b=cin.nextInt();if(a*2>b||a*4<b||b%2!=0)System.out.println("No Answer");else{
int c=b/2-a;System.out.println(a-c+" "+c);}}
}