#include<stdio.h>
int main()
{
    char a[10];
    while(~scanf("%s",a))
    {
        if((a[0]-'0')+(a[1]-'0')+(a[2]-'0')+(a[3]-'0')==7)
        {
            printf("%c+%c+%c+%c=7\n",a[0],a[1],a[2],a[3]);
        }
        else if((a[0]-'0')+(a[1]-'0')+(a[2]-'0')-(a[3]-'0')==7)
        {
            printf("%c+%c+%c-%c=7\n",a[0],a[1],a[2],a[3]);
        }
        else if((a[0]-'0')+(a[1]-'0')-(a[2]-'0')-(a[3]-'0')==7)
        {
            printf("%c+%c-%c-%c=7\n",a[0],a[1],a[2],a[3]);
        }
        else if((a[0]-'0')-(a[1]-'0')-(a[2]-'0')-(a[3]-'0')==7)
        {
            printf("%c-%c-%c-%c=7\n",a[0],a[1],a[2],a[3]);
        }
        else if((a[0]-'0')+(a[1]-'0')-(a[2]-'0')+(a[3]-'0')==7)
        {
            printf("%c+%c-%c+%c=7\n",a[0],a[1],a[2],a[3]);
        }
        else if((a[0]-'0')-(a[1]-'0')-(a[2]-'0')+(a[3]-'0')==7)
        {
            printf("%c-%c-%c+%c=7\n",a[0],a[1],a[2],a[3]);
        }
        else if((a[0]-'0')-(a[1]-'0')+(a[2]-'0')-(a[3]-'0')==7)
        {
            printf("%c-%c+%c-%c=7\n",a[0],a[1],a[2],a[3]);
        }
        else if((a[0]-'0')-(a[1]-'0')+(a[2]-'0')+(a[3]-'0')==7)
        {
            printf("%c-%c+%c+%c=7\n",a[0],a[1],a[2],a[3]);
        }
        else{break;}
    }
    return 0;
}