When new students come to the Specialized Educational and Scientific Centre (SESC) they need to start many things from the beginning. Sometimes the teachers say (not always unfairly) that we cannot even count. So our teachers decided to teach us arithmetics from the start. And what is the best way to teach students add and subtract? — That's right, using counting sticks! An here's our new task: 

An expression of counting sticks is an expression of type:[ A sticks][sign +][B sticks][sign =][C sticks] (1 ≤ A, B, C).  

Sign + consists of two crossed sticks: one vertical and one horizontal. Sign = consists of two horizontal sticks. The expression is arithmetically correct if A + B = C.

We've got an expression that looks like A + B = C given by counting sticks. Our task is to shift at most one stick (or we can shift nothing) so that the expression became arithmetically correct. Note that we cannot remove the sticks from the expression, also we cannot shift the sticks from the signs + and =.

We really aren't fabulous at arithmetics. Can you help us?


-----Input-----

The single line contains the initial expression. It is guaranteed that the expression looks like A + B = C, where 1 ≤ A, B, C ≤ 100.


-----Output-----

If there isn't a way to shift the stick so the expression becomes correct, print on a single line "Impossible" (without the quotes). If there is a way, print the resulting expression. Follow the format of the output from the test samples. Don't print extra space characters.

If there are multiple correct answers, print any of them. For clarifications, you are recommended to see the test samples.


-----Examples-----
Input
||+|=|||||

Output
|||+|=||||

Input
|||||+||=||

Output
Impossible

Input
|+|=||||||

Output
Impossible

Input
||||+||=||||||

Output
||||+||=||||||



-----Note-----

In the first sample we can shift stick from the third group of sticks to the first one.

In the second sample we cannot shift vertical stick from + sign to the second group of sticks. So we cannot make a - sign.

There is no answer in the third sample because we cannot remove sticks from the expression.

In the forth sample the initial expression is already arithmetically correct and that is why we don't have to shift sticks.

Difficulty: interview

Starter code:

Solutions:
t = input()
k = t.find('=')
n = 2 * k - len(t)
if n == 2:
    if t[1] != '+': t = t[1: ] + '|'
    else: t = t[: k - 1] + t[k: ] + '|'
elif n == -2: t = '|' + t[: -1]
elif n != 0: t = 'Impossible'
print(t)

s = input()
plus = s.index('+')
ravno = s.index('=')
a = len(s[:plus])
b = len(s[plus+1:ravno])
c = len(s[ravno+1:])
if a+b == c-2:
    a += 1
    c -= 1
    print('|'*a,'+','|'*b,'=','|'*c,sep='')
elif a+b-2 == c:
    c +=1
    if a>1:
        a -= 1
        print('|'*a,'+','|'*b,'=','|'*c,sep='')
    elif b>1:
        b -= 1
        print('|'*a,'+','|'*b,'=','|'*c,sep='')
elif a+b == c:
    print('|'*a,'+','|'*b,'=','|'*c,sep='')    
else:
    print('Impossible')

s, c = input().split(sep="=")
a, b = s.split(sep="+")
a, b, c = map(len, [a, b, c])
if a + b != c:
  if a > 1 and a - 1 + b == c + 1:
    a -= 1
    c += 1
  elif b > 1 and a + b - 1 == c + 1:
    b -= 1
    c += 1
  elif c > 1 and a + 1 + b == c - 1:
    c -= 1
    a += 1
  else:
    print("Impossible")
    return
print("|" * a + "+" + "|" * b + "=" + "|" * c)

s, c = input().split('=')
a, b = s.split('+')
a, b, c = list(map(len, [a, b, c]))

if a + b != c:
	if a > 1 and a - 1 + b == c + 1:
		a -= 1
		c += 1
	elif b > 1 and a + b - 1 == c + 1:
		b -= 1
		c += 1
	elif c > 1 and a + 1 + b == c - 1:
		c -= 1
		a += 1
	else:
		print("Impossible")
		return
print("|" * a + "+" + "|" * b + "=" + "|" * c)


a,b,c = input().replace("+","=").split("=")
lenA=0
lenB=0
lenC=0
a1=len(a)
b1=len(b)
c1=len(c)
st=""
if (a1+b1)-c1==0:
    st=a+"+"+b+"="+c
if (a1+b1)-c1==2:
    if a1>1:
        lenA=a1-1
        lenB=b1
    elif b1>1:
        lenB=b1-1
        lenA=a1
    lenC=c1+1
if (a1+b1)-c1==-2:
    if c1>1:
        lenA=a1+1
        lenB=b1
        lenC=c1-1
if lenA and lenB and lenC!=0:
    for x in range(lenA):   st=st+"|"
    st=st+"+"
    for x in range(lenB):   st=st+"|"
    st=st+"="
    for x in range(lenC):   st=st+"|"

if st:
    print(st)
else:
    print("Impossible")

from sys import stdin
def main():
    x = stdin.readline().strip()
    for i in range (0,len(x)):
        if x[i] == '=':
            b = i
        if x[i] == '+':
            a = i
    c = len(x[0:a])
    d = len(x[b+1:len(x)])
    e = len(x[a+1:b])
    if c+e==d:
        print (x)
    else:
        if c+e > d:
            if c+e > d and c+e != d:
                if(c==1):
                    e-=1
                else:
                    c -= 1
                d += 1
            if d != c+e:
                print ('Impossible')
            else:
                m = ('|'*c,'+','|'*e,'=','|'*d)
                m=''.join(m)
                print(m)
        else:
            if d > c+e and c+e != d:
                d -= 1
                c += 1
            if c+e != d:
                print ('Impossible')
            else:
                n = ('|'*c,'+','|'*e,'=','|'*d)
                n=''.join(n)
                print(n)
        
main()


from sys import stdin
def main():
    x = stdin.readline().strip()
    for i in range (0,len(x)):
        if x[i] == '=':
            b = i
        if x[i] == '+':
            a = i
    c = len(x[0:a])
    d = len(x[b+1:len(x)])
    e = len(x[a+1:b])
    if c+e==d:
        print (x)
    else:
        if c+e > d:
            if c+e > d and c+e != d:
                if(c==1):
                    e-=1
                else:
                    c -= 1
                d += 1
            if d != c+e:
                print ('Impossible')
            else:
                m = ('|'*c,'+','|'*e,'=','|'*d)
                m=''.join(m)
                print(m)
        else:
            if d > c+e and c+e != d:
                d -= 1
                c += 1
            if c+e != d:
                print ('Impossible')
            else:
                n = ('|'*c,'+','|'*e,'=','|'*d)
                n=''.join(n)
                print(n)
        
main()


from sys import stdin
def main():
    x = stdin.readline().strip()
    for i in range (0,len(x)):
        if x[i] == '=':
            b = i
        if x[i] == '+':
            a = i
    c = len(x[0:a])
    d = len(x[b+1:len(x)])
    e = len(x[a+1:b])
    if c+e==d:
        print (x)
    else:
        if c+e > d:
            if c+e > d and c+e != d:
                if(c==1):
                    e-=1
                else:
                    c -= 1
                d += 1
            if d != c+e:
                print ('Impossible')
            else:
                m = ('|'*c,'+','|'*e,'=','|'*d)
                m=''.join(m)
                print(m)
        else:
            if d > c+e and c+e != d:
                d -= 1
                c += 1
            if c+e != d:
                print ('Impossible')
            else:
                n = ('|'*c,'+','|'*e,'=','|'*d)
                n=''.join(n)
                print(n)
        
main()


from sys import stdin
def main():
	a=stdin.readline().strip()
	x=a.split('+')
	y=x[1].split('=')
	d,b,c=x[0],y[0],y[1]
	if (len(d)+len(b)==len(c)):
		print(a)
	elif (len(d)+1+len(b)==len(c)-1):
		d=d+'|'
		f=[]
		for i in range(len(c)):
			f.append(c[i])
		f.remove(f[i])
		c=''.join(f)
		e=d+'+'+b+'='+c
		print(e)
	elif (len(d)-1+len(b)==len(c)+1):
		c=c+'|'
		if(len(d)>1):
			f=[]
			for i in range (len(d)):
				f.append(d[i])
			f.remove(f[0])
			d=''.join(f)
		else:
			f=[]
			for i in range (len(b)):
				f.append(b[i])
			f.remove(f[0])
			b=''.join(f)
		e=d+'+'+b+'='+c
		print(e)
	else:
		print('Impossible')
main()



from sys import stdin
def main():
    f=stdin.readline().strip()
    x=f.split("+")
    y=x[1].split("=")
    a,b,c=x[0],y[0],y[1]
    if len(a)+len(b)==len(c):
        print(f)
    elif len(a)-1>=1 and len(a)-1 + len(b)==len(c)+1:
        c=c+"|"
        d=[]
        for i in range(len(a)):
                d.append(a[i])
        d.remove(d[i])
        a=''.join(d)
        n=a+'+'+b+'='+c
        print(n)
    elif len(c)-1>=1 and len(a)+1 + len(b) == len(c)-1:
        a=a+"|"
        d=[]
        for i in range(len(c)):
            d.append(c[i])
        d.remove(d[i])
        c=''.join(d)
        n=a+'+'+b+'='+c
        print(n)
    elif len(b)-1>=1 and len(a) + len(b)-1 == len(c)+1:
        c=c+"|"
        d=[]
        for i in range(len(b)):
            d.append(b[i])
        d.remove(d[i])
        b=''.join(d)
        n=a+'+'+b+'='+c
        print(n)
    elif len(c)-1>=0 and len(a)+ len(b)+1 == len(c)-1:
        b=b+"|"
        d=[]
        for i in range(len(c)):
            d.append(c[i])
        d.remove(d[i])
        c=''.join(d)
        n=a+'+'+b+'='+c
        print(n)
    else:
        print("Impossible")
        
main()

v = input().split('+')
a = len(v[0])
v = v[1].split('=')
b = len(v[0])
c = len(v[1])

def good(a, b, c):
    return a+b==c and a>0 and b>0 and c>0

if good(a-1, b, c+1):
    a = a-1
    c = c+1

if good(a, b-1, c+1):
    b = b-1
    c = c+1

if good(a+1, b, c-1):
    a = a+1
    c = c-1

if good(a, b+1, c-1):
    b = b+1
    c = c-1

if a+b==c:
    print('|'*a+'+'+'|'*b+'='+'|'*c)
else:
    print("Impossible")


a,b=input().split("=")
if abs(len(a)-1-len(b)) not in [0,2]:
  print("Impossible")
elif len(a)-1==len(b):
  print(a+'='+b)
elif len(a)-1<len(b):
  print('|'+a+"="+b[:-1])
elif a.find('+')>1:
  print(a[1:]+'='+b+'|')
else:
  print(a[:-1]+'='+b+'|')

import re

s = input()
l = re.compile('[|]+').findall(s)

diff = len(l[0]) + len(l[1]) - len(l[2])

if diff == 0:
    print(s)
elif diff == -2:
    print(l[0]+'|+' + l[1] + '=' + l[2][:-1])
elif diff == 2:
    l[2] += '|'
    if len(l[0]) == 1:
        l[1] = l[1][:-1]
    else:
        l[0] = l[0][:-1]
    print(l[0]+'+'+l[1]+'='+l[2])
else:
    print('Impossible')



t = input()
k = t.find('=')
n = 2 * k - len(t)
if n == 2:
    if t[1] != '+': t = t[1: ] + '|'
    else: t = t[: k - 1] + t[k: ] + '|'
elif n == -2: t = '|' + t[: -1]
elif n != 0: t = 'Impossible'
print(t)

e = str(input())
a, b, c = e.index('+'), e.index('=') - e.index('+') - 1, len(e) - e.index('=') - 1
if a + b == c:
  print(e)
elif a > 1 and a - 1 + b == c + 1: # a -> c
  print("|" * (a - 1) + '+' + "|" * b + '=' + "|" * (c + 1))
elif b > 1 and a + b - 1 == c + 1: # b -> c
  print("|" * a + '+' + "|" * (b - 1) + '=' + "|" * (c + 1))
elif c > 1 and a + 1 + b == c - 1: # c -> a
  print("|" * (a + 1) + '+' + "|" * b + '=' + "|" * (c - 1))
else:
  print("Impossible")

t = input()
k = t.find('=')
n = 2 * k - len(t)
if n == 2:
    if t[1] != '+': t = t[1: ] + '|'
    else: t = t[: k - 1] + t[k: ] + '|'
elif n == -2: t = '|' + t[: -1]
elif n != 0: t = 'Impossible'
print(t)


t = input()
k = t.find('=')
n = 2 * k - len(t)
if n == 2:
    if t[1] != '+': t = t[1: ] + '|'
    else: t = t[: k - 1] + t[k: ] + '|'
elif n == -2: t = '|' + t[: -1]
elif n != 0: t = 'Impossible'
print(t)


t = input()
k = t.find('=')
n = 2 * k - len(t)
if n == 2:
    if t[1] != '+': t = t[1: ] + '|'
    else: t = t[: k - 1] + t[k: ] + '|'
elif n == -2: t = '|' + t[: -1]
elif n != 0: t = 'Impossible'
print(t)


t = input()
k = t.find('=')
n = 2 * k - len(t)
if n == 2:
    if t[1] != '+': t = t[1: ] + '|'
    else: t = t[: k - 1] + t[k: ] + '|'
elif n == -2: t = '|' + t[: -1]
elif n != 0: t = 'Impossible'
print(t)