import java.util.*;
import java.math.*;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String s = sc.next();
    int[] data = new int[4];

    for (int i = 0; i < data.length; i++) {
      data[i] = Integer.valueOf(s.substring(i,i+1));
    }

    String[] op = new String[3];

    int ans = 0;

    for (int i = 0; i < Math.pow(2,data.length-1); i++) {
      ans = data[0];
      for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      }
      if (ans == 7) break;
    }

    System.out.println(data[0]+op[0]+data[1]+op[1]+data[2]+op[2]+data[3]+"="+ans);

  }

} import java.util.*; util.* java import java.math.*; math.* java public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String s = sc.next();
    int[] data = new int[4];

    for (int i = 0; i < data.length; i++) {
      data[i] = Integer.valueOf(s.substring(i,i+1));
    }

    String[] op = new String[3];

    int ans = 0;

    for (int i = 0; i < Math.pow(2,data.length-1); i++) {
      ans = data[0];
      for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      }
      if (ans == 7) break;
    }

    System.out.println(data[0]+op[0]+data[1]+op[1]+data[2]+op[2]+data[3]+"="+ans);

  }

} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String s = sc.next();
    int[] data = new int[4];

    for (int i = 0; i < data.length; i++) {
      data[i] = Integer.valueOf(s.substring(i,i+1));
    }

    String[] op = new String[3];

    int ans = 0;

    for (int i = 0; i < Math.pow(2,data.length-1); i++) {
      ans = data[0];
      for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      }
      if (ans == 7) break;
    }

    System.out.println(data[0]+op[0]+data[1]+op[1]+data[2]+op[2]+data[3]+"="+ans);

  } main {
    Scanner sc = new Scanner(System.in);

    String s = sc.next();
    int[] data = new int[4];

    for (int i = 0; i < data.length; i++) {
      data[i] = Integer.valueOf(s.substring(i,i+1));
    }

    String[] op = new String[3];

    int ans = 0;

    for (int i = 0; i < Math.pow(2,data.length-1); i++) {
      ans = data[0];
      for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      }
      if (ans == 7) break;
    }

    System.out.println(data[0]+op[0]+data[1]+op[1]+data[2]+op[2]+data[3]+"="+ans);

  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int[] data = new int[4]; data new int[4] 4 for (int i = 0; i < data.length; i++) {
      data[i] = Integer.valueOf(s.substring(i,i+1));
    } int i = 0; int i = 0; i 0 i < data.length i data.length data data.length i++ i++ i {
      data[i] = Integer.valueOf(s.substring(i,i+1));
    } {
      data[i] = Integer.valueOf(s.substring(i,i+1));
    } data[i] = Integer.valueOf(s.substring(i,i+1)) data[i] data i Integer.valueOf(s.substring(i,i+1)) Integer.valueOf Integer s.substring(i,i+1) s.substring s i i+1 i 1 String[] op = new String[3]; op new String[3] 3 int ans = 0; ans 0 for (int i = 0; i < Math.pow(2,data.length-1); i++) {
      ans = data[0];
      for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      }
      if (ans == 7) break;
    } int i = 0; int i = 0; i 0 i < Math.pow(2,data.length-1) i Math.pow(2,data.length-1) Math.pow Math 2 data.length-1 data.length data data.length 1 i++ i++ i {
      ans = data[0];
      for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      }
      if (ans == 7) break;
    } {
      ans = data[0];
      for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      }
      if (ans == 7) break;
    } ans = data[0] ans data[0] data 0 for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      } int j = 0; int j = 0; j 0 j < op.length j op.length op op.length j++ j++ j {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      } {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      } if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        } (1&i >> j) == 1 (1&i >> j) 1 i >> j i j 1 {
          ans += data[j+1];
          op[j] = "+";
        } ans += data[j+1] ans data[j+1] data j+1 j 1 op[j] = "+" op[j] op j "+" {
          ans -= data[j+1];
          op[j] = "-";
        } ans -= data[j+1] ans data[j+1] data j+1 j 1 op[j] = "-" op[j] op j "-" if (ans == 7) break; ans == 7 ans 7 break; System.out.println(data[0]+op[0]+data[1]+op[1]+data[2]+op[2]+data[3]+"="+ans) System.out.println System.out System System.out data[0]+op[0]+data[1]+op[1]+data[2]+op[2]+data[3]+"="+ans "=" data[3] op[2] data[2] op[1] data[1] data[0]+op[0]+data[1]+op[1]+data[2]+op[2]+data[3]+"="+ans data[0] data 0 op[0] op 0 data[1] data 1 op[1] op 1 data[2] data 2 op[2] op 2 data[3] data 3 "=" ans String[] args args public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String s = sc.next();
    int[] data = new int[4];

    for (int i = 0; i < data.length; i++) {
      data[i] = Integer.valueOf(s.substring(i,i+1));
    }

    String[] op = new String[3];

    int ans = 0;

    for (int i = 0; i < Math.pow(2,data.length-1); i++) {
      ans = data[0];
      for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      }
      if (ans == 7) break;
    }

    System.out.println(data[0]+op[0]+data[1]+op[1]+data[2]+op[2]+data[3]+"="+ans);

  }

} public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String s = sc.next();
    int[] data = new int[4];

    for (int i = 0; i < data.length; i++) {
      data[i] = Integer.valueOf(s.substring(i,i+1));
    }

    String[] op = new String[3];

    int ans = 0;

    for (int i = 0; i < Math.pow(2,data.length-1); i++) {
      ans = data[0];
      for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      }
      if (ans == 7) break;
    }

    System.out.println(data[0]+op[0]+data[1]+op[1]+data[2]+op[2]+data[3]+"="+ans);

  }

} Main
import java.util.*;
import java.math.*;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);

    String s = sc.next();
    int[] data = new int[4];

    for (int i = 0; i < data.length; i++) {
      data[i] = Integer.valueOf(s.substring(i,i+1));
    }

    String[] op = new String[3];

    int ans = 0;

    for (int i = 0; i < Math.pow(2,data.length-1); i++) {
      ans = data[0];
      for (int j = 0; j < op.length; j++) {
        if ((1&i >> j) == 1) {
          ans += data[j+1];
          op[j] = "+";
        } else {
          ans -= data[j+1];
          op[j] = "-";
        }
      }
      if (ans == 7) break;
    }

    System.out.println(data[0]+op[0]+data[1]+op[1]+data[2]+op[2]+data[3]+"="+ans);

  }

}
