import std.algorithm;
import std.range;
import std.stdio;
import std.math;
import std.array;
import std.string;
import std.conv;

/// 数列の読み込み
auto readNums(T = int)() {
	return readln().chomp.split.map!(to!T).array;
}

/// 数の読み込み
auto readNum(T = int)() {
	return readNums!T.front;
}

/// 指定行数読み込み
auto readRows(size_t rows) {
	return generate(() => readln().chomp).take(rows).array;
}

void main() {
    immutable nums = readRows(1).joiner.map!(c => to!int(c) - '0').array;
    foreach(ops; 0 .. 0b1000) {
        int value = nums[0];
        string exp = to!string(nums[0]);
        foreach(i, n; nums[1 .. $]) {
	immutable plus = (ops & (1u << i));
	value += plus ? +n : -n;
	exp ~= plus ? '+' : '-';
	exp ~= to!string(n);
        }
        
        if(value == 7) {
	writefln("%s=7", exp);
        	return;
        }
    }
    
    assert(false);
}