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: 5ms
Memory: 1092kB
Author: 2018212212248
In contest: 1271

#include<stdio.h>
int main(){
	double a,b,x,y;
	scanf("%lf%lf",&a,&b);
	if(a>=0&&b>=0){
		y=(b-2*a)/2;
	    x=2*a-b/2;
	}
	if(x==(int)x&&y==(int)y&&a>=0&&b>=0&&x>=0&&y>=0)
		printf("%.0f %.0f\n",x,y);
	else
		printf("No answer\n");

}