Start: Jun, 05, 2019 15:00:00
2019春ACM通识课考试(第二场)
End: Jun, 05, 2019 18:00:00
Time elapsed:
Time remaining:

Problem_ID: E
Result: Accepted
Time: 8ms
Memory: 1092kB
Author: 2018212212228
In contest: 1271

#include<stdio.h>
int main ()
{
    int a,b;
	int  c,d;
    scanf("%d %d",&a,&b);
	
	if(a*2>b||b%2!=0||a*4<b)
	printf("No answer");
	else
	{
		d=b/2-a;
		c=a-d;
		printf("%d %d",c,d);
	}

   
	
	return 0;

}