import java.util.*;

class Main {

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

    char s[] = sc.next().toCharArray();

    for (int i = 0; i < (1 << s.length - 1); i++) {
      String ans = "" + s[0];
      int sum = s[0] - '0';
      for (int j = 0; j < s.length-1; j++) {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      }
      //System.out.printf("%s=%d\n", ans, sum);
      if (sum == 7) {
        System.out.println(ans + "=7");
        return;
      }
    }
    //System.out.println("No Answer");
  }
} import java.util.*; util.* java class Main {

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

    char s[] = sc.next().toCharArray();

    for (int i = 0; i < (1 << s.length - 1); i++) {
      String ans = "" + s[0];
      int sum = s[0] - '0';
      for (int j = 0; j < s.length-1; j++) {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      }
      //System.out.printf("%s=%d\n", ans, sum);
      if (sum == 7) {
        System.out.println(ans + "=7");
        return;
      }
    }
    //System.out.println("No Answer");
  }
} Main public static void main(String args[]) {
    Scanner sc = new Scanner(System.in);

    char s[] = sc.next().toCharArray();

    for (int i = 0; i < (1 << s.length - 1); i++) {
      String ans = "" + s[0];
      int sum = s[0] - '0';
      for (int j = 0; j < s.length-1; j++) {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      }
      //System.out.printf("%s=%d\n", ans, sum);
      if (sum == 7) {
        System.out.println(ans + "=7");
        return;
      }
    }
    //System.out.println("No Answer");
  } main {
    Scanner sc = new Scanner(System.in);

    char s[] = sc.next().toCharArray();

    for (int i = 0; i < (1 << s.length - 1); i++) {
      String ans = "" + s[0];
      int sum = s[0] - '0';
      for (int j = 0; j < s.length-1; j++) {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      }
      //System.out.printf("%s=%d\n", ans, sum);
      if (sum == 7) {
        System.out.println(ans + "=7");
        return;
      }
    }
    //System.out.println("No Answer");
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char s[] = sc.next().toCharArray(); s sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc for (int i = 0; i < (1 << s.length - 1); i++) {
      String ans = "" + s[0];
      int sum = s[0] - '0';
      for (int j = 0; j < s.length-1; j++) {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      }
      //System.out.printf("%s=%d\n", ans, sum);
      if (sum == 7) {
        System.out.println(ans + "=7");
        return;
      }
    } int i = 0; int i = 0; i 0 i < (1 << s.length - 1) i (1 << s.length - 1) 1 s.length - 1 s.length s s.length 1 i++ i++ i {
      String ans = "" + s[0];
      int sum = s[0] - '0';
      for (int j = 0; j < s.length-1; j++) {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      }
      //System.out.printf("%s=%d\n", ans, sum);
      if (sum == 7) {
        System.out.println(ans + "=7");
        return;
      }
    } {
      String ans = "" + s[0];
      int sum = s[0] - '0';
      for (int j = 0; j < s.length-1; j++) {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      }
      //System.out.printf("%s=%d\n", ans, sum);
      if (sum == 7) {
        System.out.println(ans + "=7");
        return;
      }
    } String ans = "" + s[0]; ans "" + s[0] "" s[0] s 0 int sum = s[0] - '0'; sum s[0] - '0' s[0] s 0 '0' for (int j = 0; j < s.length-1; j++) {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      } int j = 0; int j = 0; j 0 j < s.length-1 j s.length-1 s.length s s.length 1 j++ j++ j {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      } {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      } if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        } (1 & i>>j) == 1 (1 & i>>j) 1 i>>j i j 1 {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        } sum += s[j+1] - '0' sum s[j+1] - '0' s[j+1] s j+1 j 1 '0' ans += "+" + s[j+1] ans "+" + s[j+1] "+" s[j+1] s j+1 j 1 {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        } sum -= s[j+1] - '0' sum s[j+1] - '0' s[j+1] s j+1 j 1 '0' ans += "-" + s[j+1] ans "-" + s[j+1] "-" s[j+1] s j+1 j 1 if (sum == 7) {
        System.out.println(ans + "=7");
        return;
      } sum == 7 sum 7 {
        System.out.println(ans + "=7");
        return;
      } System.out.println(ans + "=7") System.out.println System.out System System.out ans + "=7" ans "=7" return; String args[] args
import java.util.*;

class Main {

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

    char s[] = sc.next().toCharArray();

    for (int i = 0; i < (1 << s.length - 1); i++) {
      String ans = "" + s[0];
      int sum = s[0] - '0';
      for (int j = 0; j < s.length-1; j++) {
        if ((1 & i>>j) == 1) {
          sum += s[j+1] - '0';
          ans += "+" + s[j+1];
        }
        else {
          sum -= s[j+1] - '0';
          ans += "-" + s[j+1];
        }
      }
      //System.out.printf("%s=%d\n", ans, sum);
      if (sum == 7) {
        System.out.println(ans + "=7");
        return;
      }
    }
    //System.out.println("No Answer");
  }
}
