import std.stdio;
import std.string;
import std.conv;
import std.bigint;
import std.typecons;
import std.algorithm;
import std.array;
 
void main() {
    auto X = readln.chomp.map!(c => cast(int)(c - '0')).array;
    Tuple!(int, string) func(int sum, string str, int[] left) {
        if (left == null) return tuple(sum, sum == 7 ? str : null);
        auto a = func(sum + left[0], str ~ "+", left[1..$]);
        auto b = func(sum - left[0], str ~ "-", left[1..$]);
        if (a[0] == 7) return a;
        return b;
    }
    auto ops = func(X[0], "", X[1..$])[1];
    writefln("%d%c%d%c%d%c%d=7", X[0], ops[0], X[1], ops[1], X[2], ops[2], X[3]);
}
