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

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