function Main(input){
    let Numarr = input.trim().split('');
    let answer = '';
    const DFS = (numarr, str, num) => {
        const thisNum = numarr[0];
        if(thisNum == null && num === 7) return answer = str + '=7';
        if(thisNum == null) return;
        DFS(numarr.slice(1), str + '+' + thisNum, num + Number(thisNum))
        DFS(numarr.slice(1), str + '-' + thisNum, num - Number(thisNum))
        return
    }
    const n = Number(Numarr.shift())
    DFS(Numarr ,n,n)
    console.log(answer);
}