21天养成良好习惯-3 #include <stdio.h> #include <stdlib.h> int main() { int a,b,x,y; scanf("%d %d",&a,&b); y=b/2-a; x=a-y; printf("%d %d",x,y); return 0; }