#include <stdio.h> int main() { int x,y,z,a,b,c; scanf("%d%d%d",&x,&y,&z); a=x/3; b=(y+x/3)/3; c=(a+b+z)/3; a=a+b+c; b=b+c; printf("%d %d %d",a,b,c); return 0;}
#include <stdio.h> int main() { int x,y,z,a,b,c; scanf("%d%d%d",&x,&y,&z); a=x/3; b=(y+x/3)/3; c=(a+b+z)/3; a=a+b+c; b=b+c; printf("%d %d %d",a,b,c); return 0;}