#include<stdio.h>
int main(void)
{
    int b;
    int a[4];
    while(scanf("%d",&b)!=EOF)
    {
        a[0]=b/1000;
        a[1]=b/100%10;
        a[2]=b%100/10;
        a[3]=b%10;
        if(a[0]+a[1]+a[2]+a[3]==7)
            printf("%d+%d+%d+%d=7\n",a[0],a[1],a[2],a[3],a[4]);
        else if(a[0]+a[1]+a[2]-a[3]==7)
            printf("%d+%d+%d-%d=7\n",a[0],a[1],a[2],a[3],a[4]);
        else if(a[0]+a[1]-a[2]+a[3]==7)
            printf("%d+%d-%d+%d=7\n",a[0],a[1],a[2],a[3],a[4]);
        else if(a[0]+a[1]-a[2]-a[3]==7)
            printf("%d+%d-%d-%d=7\n",a[0],a[1],a[2],a[3],a[4]);
        else if(a[0]-a[1]+a[2]+a[3]==7)
            printf("%d-%d+%d+%d=7\n",a[0],a[1],a[2],a[3],a[4]);
        else if(a[0]-a[1]+a[2]-a[3]==7)
            printf("%d-%d+%d-%d=7\n",a[0],a[1],a[2],a[3],a[4]);
        else if(a[0]-a[1]-a[2]+a[3]==7)
            printf("%d-%d-%d+%d=7\n",a[0],a[1],a[2],a[3],a[4]);
        else if(a[0]-a[1]-a[2]-a[3]==7)
            printf("%d-%d-%d-%d=7\n",a[0],a[1],a[2],a[3],a[4]);
    }

}
