import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    char[] abcd = sc.next().toCharArray();
    int a = abcd[0] - '0';
    int b = abcd[1] - '0';
    int c = abcd[2] - '0';
    int d = abcd[3] - '0';
    String ans = "";
    if (a + b + c + d == 7) {
      ans = "" + a + "+" + b + "+" + c + "+" + d + "=7";
    }
    if (a - b + c + d == 7) {
      ans = "" + a + "-" + b + "+" + c + "+" + d + "=7";
    }
    if (a + b - c + d == 7) {
      ans = "" + a + "+" + b + "-" + c + "+" + d + "=7";
    }
    if (a + b + c - d == 7) {
      ans = "" + a + "+" + b + "+" + c + "-" + d + "=7";
    }
    if (a + b - c - d == 7) {
      ans = "" + a + "+" + b + "-" + c + "-" + d + "=7";
    }
    if (a - b + c - d == 7) {
      ans = "" + a + "-" + b + "+" + c + "-" + d + "=7";
    }
    if (a - b - c + d == 7) {
      ans = "" + a + "-" + b + "-" + c + "+" + d + "=7";
    }
    if (a - b - c - d == 7) {
      ans = "" + a + "-" + b + "-" + c + "-" + d + "=7";
    }
    System.out.println(ans);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    char[] abcd = sc.next().toCharArray();
    int a = abcd[0] - '0';
    int b = abcd[1] - '0';
    int c = abcd[2] - '0';
    int d = abcd[3] - '0';
    String ans = "";
    if (a + b + c + d == 7) {
      ans = "" + a + "+" + b + "+" + c + "+" + d + "=7";
    }
    if (a - b + c + d == 7) {
      ans = "" + a + "-" + b + "+" + c + "+" + d + "=7";
    }
    if (a + b - c + d == 7) {
      ans = "" + a + "+" + b + "-" + c + "+" + d + "=7";
    }
    if (a + b + c - d == 7) {
      ans = "" + a + "+" + b + "+" + c + "-" + d + "=7";
    }
    if (a + b - c - d == 7) {
      ans = "" + a + "+" + b + "-" + c + "-" + d + "=7";
    }
    if (a - b + c - d == 7) {
      ans = "" + a + "-" + b + "+" + c + "-" + d + "=7";
    }
    if (a - b - c + d == 7) {
      ans = "" + a + "-" + b + "-" + c + "+" + d + "=7";
    }
    if (a - b - c - d == 7) {
      ans = "" + a + "-" + b + "-" + c + "-" + d + "=7";
    }
    System.out.println(ans);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    char[] abcd = sc.next().toCharArray();
    int a = abcd[0] - '0';
    int b = abcd[1] - '0';
    int c = abcd[2] - '0';
    int d = abcd[3] - '0';
    String ans = "";
    if (a + b + c + d == 7) {
      ans = "" + a + "+" + b + "+" + c + "+" + d + "=7";
    }
    if (a - b + c + d == 7) {
      ans = "" + a + "-" + b + "+" + c + "+" + d + "=7";
    }
    if (a + b - c + d == 7) {
      ans = "" + a + "+" + b + "-" + c + "+" + d + "=7";
    }
    if (a + b + c - d == 7) {
      ans = "" + a + "+" + b + "+" + c + "-" + d + "=7";
    }
    if (a + b - c - d == 7) {
      ans = "" + a + "+" + b + "-" + c + "-" + d + "=7";
    }
    if (a - b + c - d == 7) {
      ans = "" + a + "-" + b + "+" + c + "-" + d + "=7";
    }
    if (a - b - c + d == 7) {
      ans = "" + a + "-" + b + "-" + c + "+" + d + "=7";
    }
    if (a - b - c - d == 7) {
      ans = "" + a + "-" + b + "-" + c + "-" + d + "=7";
    }
    System.out.println(ans);
  } main {
    Scanner sc = new Scanner(System.in);
    char[] abcd = sc.next().toCharArray();
    int a = abcd[0] - '0';
    int b = abcd[1] - '0';
    int c = abcd[2] - '0';
    int d = abcd[3] - '0';
    String ans = "";
    if (a + b + c + d == 7) {
      ans = "" + a + "+" + b + "+" + c + "+" + d + "=7";
    }
    if (a - b + c + d == 7) {
      ans = "" + a + "-" + b + "+" + c + "+" + d + "=7";
    }
    if (a + b - c + d == 7) {
      ans = "" + a + "+" + b + "-" + c + "+" + d + "=7";
    }
    if (a + b + c - d == 7) {
      ans = "" + a + "+" + b + "+" + c + "-" + d + "=7";
    }
    if (a + b - c - d == 7) {
      ans = "" + a + "+" + b + "-" + c + "-" + d + "=7";
    }
    if (a - b + c - d == 7) {
      ans = "" + a + "-" + b + "+" + c + "-" + d + "=7";
    }
    if (a - b - c + d == 7) {
      ans = "" + a + "-" + b + "-" + c + "+" + d + "=7";
    }
    if (a - b - c - d == 7) {
      ans = "" + a + "-" + b + "-" + c + "-" + d + "=7";
    }
    System.out.println(ans);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) char[] abcd = sc.next().toCharArray(); abcd sc.next().toCharArray() sc.next().toCharArray sc.next() sc.next sc int a = abcd[0] - '0'; a abcd[0] - '0' abcd[0] abcd 0 '0' int b = abcd[1] - '0'; b abcd[1] - '0' abcd[1] abcd 1 '0' int c = abcd[2] - '0'; c abcd[2] - '0' abcd[2] abcd 2 '0' int d = abcd[3] - '0'; d abcd[3] - '0' abcd[3] abcd 3 '0' String ans = ""; ans "" if (a + b + c + d == 7) {
      ans = "" + a + "+" + b + "+" + c + "+" + d + "=7";
    } a + b + c + d == 7 a + b + c + d c a + b + c + d a b c d 7 {
      ans = "" + a + "+" + b + "+" + c + "+" + d + "=7";
    } ans = "" + a + "+" + b + "+" + c + "+" + d + "=7" ans "" + a + "+" + b + "+" + c + "+" + d + "=7" d "+" c "+" b "+" "" + a + "+" + b + "+" + c + "+" + d + "=7" "" a "+" b "+" c "+" d "=7" if (a - b + c + d == 7) {
      ans = "" + a + "-" + b + "+" + c + "+" + d + "=7";
    } a - b + c + d == 7 a - b + c + d a - b + c + d a - b a b c d 7 {
      ans = "" + a + "-" + b + "+" + c + "+" + d + "=7";
    } ans = "" + a + "-" + b + "+" + c + "+" + d + "=7" ans "" + a + "-" + b + "+" + c + "+" + d + "=7" d "+" c "+" b "-" "" + a + "-" + b + "+" + c + "+" + d + "=7" "" a "-" b "+" c "+" d "=7" if (a + b - c + d == 7) {
      ans = "" + a + "+" + b + "-" + c + "+" + d + "=7";
    } a + b - c + d == 7 a + b - c + d a + b - c a + b a b c d 7 {
      ans = "" + a + "+" + b + "-" + c + "+" + d + "=7";
    } ans = "" + a + "+" + b + "-" + c + "+" + d + "=7" ans "" + a + "+" + b + "-" + c + "+" + d + "=7" d "+" c "-" b "+" "" + a + "+" + b + "-" + c + "+" + d + "=7" "" a "+" b "-" c "+" d "=7" if (a + b + c - d == 7) {
      ans = "" + a + "+" + b + "+" + c + "-" + d + "=7";
    } a + b + c - d == 7 a + b + c - d a + b + c a + b + c a b c d 7 {
      ans = "" + a + "+" + b + "+" + c + "-" + d + "=7";
    } ans = "" + a + "+" + b + "+" + c + "-" + d + "=7" ans "" + a + "+" + b + "+" + c + "-" + d + "=7" d "-" c "+" b "+" "" + a + "+" + b + "+" + c + "-" + d + "=7" "" a "+" b "+" c "-" d "=7" if (a + b - c - d == 7) {
      ans = "" + a + "+" + b + "-" + c + "-" + d + "=7";
    } a + b - c - d == 7 a + b - c - d a + b - c - d a + b a b c d 7 {
      ans = "" + a + "+" + b + "-" + c + "-" + d + "=7";
    } ans = "" + a + "+" + b + "-" + c + "-" + d + "=7" ans "" + a + "+" + b + "-" + c + "-" + d + "=7" d "-" c "-" b "+" "" + a + "+" + b + "-" + c + "-" + d + "=7" "" a "+" b "-" c "-" d "=7" if (a - b + c - d == 7) {
      ans = "" + a + "-" + b + "+" + c + "-" + d + "=7";
    } a - b + c - d == 7 a - b + c - d a - b + c a - b a b c d 7 {
      ans = "" + a + "-" + b + "+" + c + "-" + d + "=7";
    } ans = "" + a + "-" + b + "+" + c + "-" + d + "=7" ans "" + a + "-" + b + "+" + c + "-" + d + "=7" d "-" c "+" b "-" "" + a + "-" + b + "+" + c + "-" + d + "=7" "" a "-" b "+" c "-" d "=7" if (a - b - c + d == 7) {
      ans = "" + a + "-" + b + "-" + c + "+" + d + "=7";
    } a - b - c + d == 7 a - b - c + d a - b - c a - b - c a b c d 7 {
      ans = "" + a + "-" + b + "-" + c + "+" + d + "=7";
    } ans = "" + a + "-" + b + "-" + c + "+" + d + "=7" ans "" + a + "-" + b + "-" + c + "+" + d + "=7" d "+" c "-" b "-" "" + a + "-" + b + "-" + c + "+" + d + "=7" "" a "-" b "-" c "+" d "=7" if (a - b - c - d == 7) {
      ans = "" + a + "-" + b + "-" + c + "-" + d + "=7";
    } a - b - c - d == 7 a - b - c - d c a - b - c - d a b c d 7 {
      ans = "" + a + "-" + b + "-" + c + "-" + d + "=7";
    } ans = "" + a + "-" + b + "-" + c + "-" + d + "=7" ans "" + a + "-" + b + "-" + c + "-" + d + "=7" d "-" c "-" b "-" "" + a + "-" + b + "-" + c + "-" + d + "=7" "" a "-" b "-" c "-" d "=7" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    char[] abcd = sc.next().toCharArray();
    int a = abcd[0] - '0';
    int b = abcd[1] - '0';
    int c = abcd[2] - '0';
    int d = abcd[3] - '0';
    String ans = "";
    if (a + b + c + d == 7) {
      ans = "" + a + "+" + b + "+" + c + "+" + d + "=7";
    }
    if (a - b + c + d == 7) {
      ans = "" + a + "-" + b + "+" + c + "+" + d + "=7";
    }
    if (a + b - c + d == 7) {
      ans = "" + a + "+" + b + "-" + c + "+" + d + "=7";
    }
    if (a + b + c - d == 7) {
      ans = "" + a + "+" + b + "+" + c + "-" + d + "=7";
    }
    if (a + b - c - d == 7) {
      ans = "" + a + "+" + b + "-" + c + "-" + d + "=7";
    }
    if (a - b + c - d == 7) {
      ans = "" + a + "-" + b + "+" + c + "-" + d + "=7";
    }
    if (a - b - c + d == 7) {
      ans = "" + a + "-" + b + "-" + c + "+" + d + "=7";
    }
    if (a - b - c - d == 7) {
      ans = "" + a + "-" + b + "-" + c + "-" + d + "=7";
    }
    System.out.println(ans);
  }
} public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    char[] abcd = sc.next().toCharArray();
    int a = abcd[0] - '0';
    int b = abcd[1] - '0';
    int c = abcd[2] - '0';
    int d = abcd[3] - '0';
    String ans = "";
    if (a + b + c + d == 7) {
      ans = "" + a + "+" + b + "+" + c + "+" + d + "=7";
    }
    if (a - b + c + d == 7) {
      ans = "" + a + "-" + b + "+" + c + "+" + d + "=7";
    }
    if (a + b - c + d == 7) {
      ans = "" + a + "+" + b + "-" + c + "+" + d + "=7";
    }
    if (a + b + c - d == 7) {
      ans = "" + a + "+" + b + "+" + c + "-" + d + "=7";
    }
    if (a + b - c - d == 7) {
      ans = "" + a + "+" + b + "-" + c + "-" + d + "=7";
    }
    if (a - b + c - d == 7) {
      ans = "" + a + "-" + b + "+" + c + "-" + d + "=7";
    }
    if (a - b - c + d == 7) {
      ans = "" + a + "-" + b + "-" + c + "+" + d + "=7";
    }
    if (a - b - c - d == 7) {
      ans = "" + a + "-" + b + "-" + c + "-" + d + "=7";
    }
    System.out.println(ans);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    char[] abcd = sc.next().toCharArray();
    int a = abcd[0] - '0';
    int b = abcd[1] - '0';
    int c = abcd[2] - '0';
    int d = abcd[3] - '0';
    String ans = "";
    if (a + b + c + d == 7) {
      ans = "" + a + "+" + b + "+" + c + "+" + d + "=7";
    }
    if (a - b + c + d == 7) {
      ans = "" + a + "-" + b + "+" + c + "+" + d + "=7";
    }
    if (a + b - c + d == 7) {
      ans = "" + a + "+" + b + "-" + c + "+" + d + "=7";
    }
    if (a + b + c - d == 7) {
      ans = "" + a + "+" + b + "+" + c + "-" + d + "=7";
    }
    if (a + b - c - d == 7) {
      ans = "" + a + "+" + b + "-" + c + "-" + d + "=7";
    }
    if (a - b + c - d == 7) {
      ans = "" + a + "-" + b + "+" + c + "-" + d + "=7";
    }
    if (a - b - c + d == 7) {
      ans = "" + a + "-" + b + "-" + c + "+" + d + "=7";
    }
    if (a - b - c - d == 7) {
      ans = "" + a + "-" + b + "-" + c + "-" + d + "=7";
    }
    System.out.println(ans);
  }
}