#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"); }