import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String in = sc.nextLine();
        String[] nums = in.split("");

        int a = Integer.parseInt(nums[0]);
        int b = Integer.parseInt(nums[1]);
        int c = Integer.parseInt(nums[2]);
        int d = Integer.parseInt(nums[3]);

        if (a + b + c + d == 7) {
            System.out.print(a + "+" + b + "+" + c + "+" + d + "=7");
        } else if (a - b + c + d == 7) {
            System.out.print(a + "-" + b + "+" + c + "+" + d + "=7");
        } else if (a - b - c + d == 7) {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } else if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        }
    }

} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String in = sc.nextLine();
        String[] nums = in.split("");

        int a = Integer.parseInt(nums[0]);
        int b = Integer.parseInt(nums[1]);
        int c = Integer.parseInt(nums[2]);
        int d = Integer.parseInt(nums[3]);

        if (a + b + c + d == 7) {
            System.out.print(a + "+" + b + "+" + c + "+" + d + "=7");
        } else if (a - b + c + d == 7) {
            System.out.print(a + "-" + b + "+" + c + "+" + d + "=7");
        } else if (a - b - c + d == 7) {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } else if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        }
    }

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

        int a = Integer.parseInt(nums[0]);
        int b = Integer.parseInt(nums[1]);
        int c = Integer.parseInt(nums[2]);
        int d = Integer.parseInt(nums[3]);

        if (a + b + c + d == 7) {
            System.out.print(a + "+" + b + "+" + c + "+" + d + "=7");
        } else if (a - b + c + d == 7) {
            System.out.print(a + "-" + b + "+" + c + "+" + d + "=7");
        } else if (a - b - c + d == 7) {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } else if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        }
    } main {
        Scanner sc = new Scanner(System.in);
        String in = sc.nextLine();
        String[] nums = in.split("");

        int a = Integer.parseInt(nums[0]);
        int b = Integer.parseInt(nums[1]);
        int c = Integer.parseInt(nums[2]);
        int d = Integer.parseInt(nums[3]);

        if (a + b + c + d == 7) {
            System.out.print(a + "+" + b + "+" + c + "+" + d + "=7");
        } else if (a - b + c + d == 7) {
            System.out.print(a + "-" + b + "+" + c + "+" + d + "=7");
        } else if (a - b - c + d == 7) {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } else if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String in = sc.nextLine(); in sc.nextLine() sc.nextLine sc String[] nums = in.split(""); nums in.split("") in.split in "" int a = Integer.parseInt(nums[0]); a Integer.parseInt(nums[0]) Integer.parseInt Integer nums[0] nums 0 int b = Integer.parseInt(nums[1]); b Integer.parseInt(nums[1]) Integer.parseInt Integer nums[1] nums 1 int c = Integer.parseInt(nums[2]); c Integer.parseInt(nums[2]) Integer.parseInt Integer nums[2] nums 2 int d = Integer.parseInt(nums[3]); d Integer.parseInt(nums[3]) Integer.parseInt Integer nums[3] nums 3 if (a + b + c + d == 7) {
            System.out.print(a + "+" + b + "+" + c + "+" + d + "=7");
        } else if (a - b + c + d == 7) {
            System.out.print(a + "-" + b + "+" + c + "+" + d + "=7");
        } else if (a - b - c + d == 7) {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } else if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        } a + b + c + d == 7 a + b + c + d c a + b + c + d a b c d 7 {
            System.out.print(a + "+" + b + "+" + c + "+" + d + "=7");
        } System.out.print(a + "+" + b + "+" + c + "+" + d + "=7") System.out.print System.out System System.out a + "+" + b + "+" + c + "+" + d + "=7" d "+" c "+" b a + "+" + b + "+" + c + "+" + d + "=7" a "+" b "+" c "+" d "=7" if (a - b + c + d == 7) {
            System.out.print(a + "-" + b + "+" + c + "+" + d + "=7");
        } else if (a - b - c + d == 7) {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } else if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(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 {
            System.out.print(a + "-" + b + "+" + c + "+" + d + "=7");
        } System.out.print(a + "-" + b + "+" + c + "+" + d + "=7") System.out.print System.out System System.out a + "-" + b + "+" + c + "+" + d + "=7" d "+" c "+" b a + "-" + b + "+" + c + "+" + d + "=7" a "-" b "+" c "+" d "=7" if (a - b - c + d == 7) {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } else if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(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 {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } System.out.print(a + "-" + b + "-" + c + "+" + d + "=7") System.out.print System.out System System.out a + "-" + b + "-" + c + "+" + d + "=7" d "+" c "-" b a + "-" + b + "-" + c + "+" + d + "=7" a "-" b "-" c "+" d "=7" if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        } a - b - c - d == 7 a - b - c - d c a - b - c - d a b c d 7 {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } System.out.print(a + "-" + b + "-" + c + "-" + d + "=7") System.out.print System.out System System.out a + "-" + b + "-" + c + "-" + d + "=7" d "-" c "-" b a + "-" + b + "-" + c + "-" + d + "=7" a "-" b "-" c "-" d "=7" if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(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 {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } System.out.print(a + "+" + b + "-" + c + "-" + d + "=7") System.out.print System.out System System.out a + "+" + b + "-" + c + "-" + d + "=7" d "-" c "-" b a + "+" + b + "-" + c + "-" + d + "=7" a "+" b "-" c "-" d "=7" if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(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 {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } System.out.print(a + "+" + b + "+" + c + "-" + d + "=7") System.out.print System.out System System.out a + "+" + b + "+" + c + "-" + d + "=7" d "-" c "+" b a + "+" + b + "+" + c + "-" + d + "=7" a "+" b "+" c "-" d "=7" if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        } a + b - c + d == 7 a + b - c + d a + b - c a + b a b c d 7 {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } System.out.print(a + "+" + b + "-" + c + "+" + d + "=7") System.out.print System.out System System.out a + "+" + b + "-" + c + "+" + d + "=7" d "+" c "-" b a + "+" + b + "-" + c + "+" + d + "=7" a "+" b "-" c "+" d "=7" if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        } a - b + c - d == 7 a - b + c - d a - b + c a - b a b c d 7 {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        } System.out.print(a + "-" + b + "+" + c + "-" + d + "=7") System.out.print System.out System System.out a + "-" + b + "+" + c + "-" + d + "=7" d "-" c "+" b a + "-" + b + "+" + c + "-" + d + "=7" a "-" b "+" c "-" d "=7" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String in = sc.nextLine();
        String[] nums = in.split("");

        int a = Integer.parseInt(nums[0]);
        int b = Integer.parseInt(nums[1]);
        int c = Integer.parseInt(nums[2]);
        int d = Integer.parseInt(nums[3]);

        if (a + b + c + d == 7) {
            System.out.print(a + "+" + b + "+" + c + "+" + d + "=7");
        } else if (a - b + c + d == 7) {
            System.out.print(a + "-" + b + "+" + c + "+" + d + "=7");
        } else if (a - b - c + d == 7) {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } else if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        }
    }

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

        int a = Integer.parseInt(nums[0]);
        int b = Integer.parseInt(nums[1]);
        int c = Integer.parseInt(nums[2]);
        int d = Integer.parseInt(nums[3]);

        if (a + b + c + d == 7) {
            System.out.print(a + "+" + b + "+" + c + "+" + d + "=7");
        } else if (a - b + c + d == 7) {
            System.out.print(a + "-" + b + "+" + c + "+" + d + "=7");
        } else if (a - b - c + d == 7) {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } else if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        }
    }

} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String in = sc.nextLine();
        String[] nums = in.split("");

        int a = Integer.parseInt(nums[0]);
        int b = Integer.parseInt(nums[1]);
        int c = Integer.parseInt(nums[2]);
        int d = Integer.parseInt(nums[3]);

        if (a + b + c + d == 7) {
            System.out.print(a + "+" + b + "+" + c + "+" + d + "=7");
        } else if (a - b + c + d == 7) {
            System.out.print(a + "-" + b + "+" + c + "+" + d + "=7");
        } else if (a - b - c + d == 7) {
            System.out.print(a + "-" + b + "-" + c + "+" + d + "=7");
        } else if (a - b - c - d == 7) {
            System.out.print(a + "-" + b + "-" + c + "-" + d + "=7");
        } else if (a + b - c - d == 7) {
            System.out.print(a + "+" + b + "-" + c + "-" + d + "=7");
        } else if (a + b + c - d == 7) {
            System.out.print(a + "+" + b + "+" + c + "-" + d + "=7");
        } else if (a + b - c + d == 7) {
            System.out.print(a + "+" + b + "-" + c + "+" + d + "=7");
        } else if (a - b + c - d == 7) {
            System.out.print(a + "-" + b + "+" + c + "-" + d + "=7");
        }
    }

}
