import java.util.*;
 
public class Main {
  public static void main(String[] args)  {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int a = Integer.parseInt(s.substring(0, 1));
    int b = Integer.parseInt(s.substring(1, 2));
    int c = Integer.parseInt(s.substring(2, 3));
    int d = Integer.parseInt(s.substring(3, 4));
    
    if (a + b + c + d == 7) {
      System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a + b + c - d == 7) {
      System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a + b - c + d == 7) {
      System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a + b - c - d == 7) {
      System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
      return;
    }
    if (a - b + c + d == 7) {
      System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a - b + c - d == 7) {
      System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a - b - c + d == 7) {
      System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a - b - c - d == 7) {
      System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
      return;
    }
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args)  {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int a = Integer.parseInt(s.substring(0, 1));
    int b = Integer.parseInt(s.substring(1, 2));
    int c = Integer.parseInt(s.substring(2, 3));
    int d = Integer.parseInt(s.substring(3, 4));
    
    if (a + b + c + d == 7) {
      System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a + b + c - d == 7) {
      System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a + b - c + d == 7) {
      System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a + b - c - d == 7) {
      System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
      return;
    }
    if (a - b + c + d == 7) {
      System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a - b + c - d == 7) {
      System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a - b - c + d == 7) {
      System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a - b - c - d == 7) {
      System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
      return;
    }
  }
} Main public static void main(String[] args)  {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int a = Integer.parseInt(s.substring(0, 1));
    int b = Integer.parseInt(s.substring(1, 2));
    int c = Integer.parseInt(s.substring(2, 3));
    int d = Integer.parseInt(s.substring(3, 4));
    
    if (a + b + c + d == 7) {
      System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a + b + c - d == 7) {
      System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a + b - c + d == 7) {
      System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a + b - c - d == 7) {
      System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
      return;
    }
    if (a - b + c + d == 7) {
      System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a - b + c - d == 7) {
      System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a - b - c + d == 7) {
      System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a - b - c - d == 7) {
      System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
      return;
    }
  } main {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int a = Integer.parseInt(s.substring(0, 1));
    int b = Integer.parseInt(s.substring(1, 2));
    int c = Integer.parseInt(s.substring(2, 3));
    int d = Integer.parseInt(s.substring(3, 4));
    
    if (a + b + c + d == 7) {
      System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a + b + c - d == 7) {
      System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a + b - c + d == 7) {
      System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a + b - c - d == 7) {
      System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
      return;
    }
    if (a - b + c + d == 7) {
      System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a - b + c - d == 7) {
      System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a - b - c + d == 7) {
      System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a - b - c - d == 7) {
      System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
      return;
    }
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String s = sc.next(); s sc.next() sc.next sc int a = Integer.parseInt(s.substring(0, 1)); a Integer.parseInt(s.substring(0, 1)) Integer.parseInt Integer s.substring(0, 1) s.substring s 0 1 int b = Integer.parseInt(s.substring(1, 2)); b Integer.parseInt(s.substring(1, 2)) Integer.parseInt Integer s.substring(1, 2) s.substring s 1 2 int c = Integer.parseInt(s.substring(2, 3)); c Integer.parseInt(s.substring(2, 3)) Integer.parseInt Integer s.substring(2, 3) s.substring s 2 3 int d = Integer.parseInt(s.substring(3, 4)); d Integer.parseInt(s.substring(3, 4)) Integer.parseInt Integer s.substring(3, 4) s.substring s 3 4 if (a + b + c + d == 7) {
      System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
      return;
    } a + b + c + d == 7 a + b + c + d c a + b + c + d a b c d 7 {
      System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
      return;
    } System.out.println(a + "+" + b + "+" + c + "+" + d + "=7") System.out.println System.out System System.out a + "+" + b + "+" + c + "+" + d + "=7" d "+" c "+" b a + "+" + b + "+" + c + "+" + d + "=7" a "+" b "+" c "+" d "=7" return; if (a + b + c - d == 7) {
      System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
      return;
    } a + b + c - d == 7 a + b + c - d a + b + c a + b + c a b c d 7 {
      System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
      return;
    } System.out.println(a + "+" + b + "+" + c + "-" + d + "=7") System.out.println System.out System System.out a + "+" + b + "+" + c + "-" + d + "=7" d "-" c "+" b a + "+" + b + "+" + c + "-" + d + "=7" a "+" b "+" c "-" d "=7" return; if (a + b - c + d == 7) {
      System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
      return;
    } a + b - c + d == 7 a + b - c + d a + b - c a + b a b c d 7 {
      System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
      return;
    } System.out.println(a + "+" + b + "-" + c + "+" + d + "=7") System.out.println System.out System System.out a + "+" + b + "-" + c + "+" + d + "=7" d "+" c "-" b a + "+" + b + "-" + c + "+" + d + "=7" a "+" b "-" c "+" d "=7" return; if (a + b - c - d == 7) {
      System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
      return;
    } a + b - c - d == 7 a + b - c - d a + b - c - d a + b a b c d 7 {
      System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
      return;
    } System.out.println(a + "+" + b + "-" + c + "-" + d + "=7") System.out.println System.out System System.out a + "+" + b + "-" + c + "-" + d + "=7" d "-" c "-" b a + "+" + b + "-" + c + "-" + d + "=7" a "+" b "-" c "-" d "=7" return; if (a - b + c + d == 7) {
      System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
      return;
    } a - b + c + d == 7 a - b + c + d a - b + c + d a - b a b c d 7 {
      System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
      return;
    } System.out.println(a + "-" + b + "+" + c + "+" + d + "=7") System.out.println System.out System System.out a + "-" + b + "+" + c + "+" + d + "=7" d "+" c "+" b a + "-" + b + "+" + c + "+" + d + "=7" a "-" b "+" c "+" d "=7" return; if (a - b + c - d == 7) {
      System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
      return;
    } a - b + c - d == 7 a - b + c - d a - b + c a - b a b c d 7 {
      System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
      return;
    } System.out.println(a + "-" + b + "+" + c + "-" + d + "=7") System.out.println System.out System System.out a + "-" + b + "+" + c + "-" + d + "=7" d "-" c "+" b a + "-" + b + "+" + c + "-" + d + "=7" a "-" b "+" c "-" d "=7" return; if (a - b - c + d == 7) {
      System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
      return;
    } a - b - c + d == 7 a - b - c + d a - b - c a - b - c a b c d 7 {
      System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
      return;
    } System.out.println(a + "-" + b + "-" + c + "+" + d + "=7") System.out.println System.out System System.out a + "-" + b + "-" + c + "+" + d + "=7" d "+" c "-" b a + "-" + b + "-" + c + "+" + d + "=7" a "-" b "-" c "+" d "=7" return; if (a - b - c - d == 7) {
      System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
      return;
    } a - b - c - d == 7 a - b - c - d c a - b - c - d a b c d 7 {
      System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
      return;
    } System.out.println(a + "-" + b + "-" + c + "-" + d + "=7") System.out.println System.out System System.out a + "-" + b + "-" + c + "-" + d + "=7" d "-" c "-" b a + "-" + b + "-" + c + "-" + d + "=7" a "-" b "-" c "-" d "=7" return; String[] args args public class Main {
  public static void main(String[] args)  {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int a = Integer.parseInt(s.substring(0, 1));
    int b = Integer.parseInt(s.substring(1, 2));
    int c = Integer.parseInt(s.substring(2, 3));
    int d = Integer.parseInt(s.substring(3, 4));
    
    if (a + b + c + d == 7) {
      System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a + b + c - d == 7) {
      System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a + b - c + d == 7) {
      System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a + b - c - d == 7) {
      System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
      return;
    }
    if (a - b + c + d == 7) {
      System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a - b + c - d == 7) {
      System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a - b - c + d == 7) {
      System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a - b - c - d == 7) {
      System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
      return;
    }
  }
} public class Main {
  public static void main(String[] args)  {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int a = Integer.parseInt(s.substring(0, 1));
    int b = Integer.parseInt(s.substring(1, 2));
    int c = Integer.parseInt(s.substring(2, 3));
    int d = Integer.parseInt(s.substring(3, 4));
    
    if (a + b + c + d == 7) {
      System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a + b + c - d == 7) {
      System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a + b - c + d == 7) {
      System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a + b - c - d == 7) {
      System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
      return;
    }
    if (a - b + c + d == 7) {
      System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a - b + c - d == 7) {
      System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a - b - c + d == 7) {
      System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a - b - c - d == 7) {
      System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
      return;
    }
  }
} Main
import java.util.*;
 
public class Main {
  public static void main(String[] args)  {
    Scanner sc = new Scanner(System.in);
    String s = sc.next();
    int a = Integer.parseInt(s.substring(0, 1));
    int b = Integer.parseInt(s.substring(1, 2));
    int c = Integer.parseInt(s.substring(2, 3));
    int d = Integer.parseInt(s.substring(3, 4));
    
    if (a + b + c + d == 7) {
      System.out.println(a + "+" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a + b + c - d == 7) {
      System.out.println(a + "+" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a + b - c + d == 7) {
      System.out.println(a + "+" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a + b - c - d == 7) {
      System.out.println(a + "+" + b + "-" + c + "-" + d + "=7");
      return;
    }
    if (a - b + c + d == 7) {
      System.out.println(a + "-" + b + "+" + c + "+" + d + "=7");
      return;
    }
    if (a - b + c - d == 7) {
      System.out.println(a + "-" + b + "+" + c + "-" + d + "=7");
      return;
    }
    if (a - b - c + d == 7) {
      System.out.println(a + "-" + b + "-" + c + "+" + d + "=7");
      return;
    }
    if (a - b - c - d == 7) {
      System.out.println(a + "-" + b + "-" + c + "-" + d + "=7");
      return;
    }
  }
}