using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Web;

namespace Competitive
{
    internal class Solution
    {
        public int[] V;
        public int D = 7;
        public string ret;
        public void Run()
        {
            string S = Console.ReadLine();
            V = new int[S.Length];
            for (int s = 0; s < S.Length; s++)
            {
                V[s] = S[s] - '0';
            }

            var bf = new BruteForceBit(3, Process);
            ret = string.Empty;
            bf.DFSRun();

            Console.WriteLine(ret);
           
        }

        public void Process(bool[] F)
        {
            int calculated = 0;
            for (int i = 0; i < 4; i++)
            {
                if (i == 0) calculated += V[i];
                else calculated += (F[i - 1] ? 1 : -1) * V[i];
            }

            if (calculated == D)
            {
                string s = string.Empty;
                s += V[0];
                s += (F[0] ? "+" : "-");
                s += V[1];
                s += (F[1] ? "+" : "-");
                s += V[2];
                s += (F[2] ? "+" : "-");
                s += V[3];
                s += "=7";
                ret = s;
            }

        }
     
    }

    // libs ----------
    class BruteForceBit
    {
        public int N;
        public bool[] F;
        public Action<bool[]> Process;

        public BruteForceBit(int N, Action<bool[]> process)
        {
            this.N = N;
            F = new bool[N];
            Process = process;
        }

        public void DFSRun()
        {
            DFS(0);
        }

        public void DFS(int i)
        {
            if (i == N)
            {
                Process(F);
            }
            else
            {
                F[i] = true;
                DFS(i + 1);
                F[i] = false;
                DFS(i + 1);
            }
        }

    }


    // common ----------

    internal static class Input
    {
        public static string ReadString()
        {
            string line = Console.ReadLine();
            return line;
        }

        public static int ReadInt()
        {
            string line = Console.ReadLine();
            return int.Parse(line);
        }

        public static int[] ReadIntArray()
        {
            string line = Console.ReadLine();
            return line.Split(' ').Select(int.Parse).ToArray();            
        }

        public static long ReadLong()
        {
            string line = Console.ReadLine();
            return long.Parse(line);
        }

        public static long[] ReadLongArray()
        {
            string line = Console.ReadLine();
            return line.Split(' ').Select(long.Parse).ToArray();
        }

        public static double[] ReadDoubleArray()
        {
            string line = Console.ReadLine();
            return line.Split(' ').Select(double.Parse).ToArray();
        }
    }
    
    internal class Program
    {
        public static void Main(string[] args)
        {
            var s = new Solution();
            s.Run();
        }
    }
}

Measured memory_bytes: 11092