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: 9ms
Memory: 1712kB
Author: 2018212212128
In contest: 1271

#include<iostream>
using namespace std;
int main()
{
	int a,b;
	scanf("%d %d",&a,&b);
	int c=b-2*a;
	if(b<=4*a&&b>=2*a&&b%2==0)
		printf("%d %d",a-(c/2),c/2);
	else
		puts("No answer");
}