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