20251025
# a, b = map(int, input(). split())
# c, d = map(int, input(). split())
# e, f = map(int, input(). split())
#
# if a<=e<=c and b<=f<=d :
# print("충돌")
# elif a<=e<=c and f<b :
# print("비충돌")
# elif a<=e<=c and d<f :
# print("비충돌")
# elif e<a and b<=f<=d :
# print("비충돌")
# elif c<e and b<=f<=d :
# print("비충돌")
# else :
# print("비충돌")
# o=0
# for s in range(1,10) :
# for t in range(10) :
# if (s*10+o)*2 == t*100+o*10+o :
# print(s,o,'+',s,o,'=',t,o,o, sep='')
# for s in range(1,10) :
# for o in range(10) :
# for t in range(10) :
# if (s*100+o*10+t)-(s*10+o)==t*10+t :
# print(s,o,t,'-',s,o,'=',t,t,sep='')
# for f in range(1,10) :
# for o in range(10) :
# if f==o :
# continue
# for r in range(10) :
# if f==r or o==r :
# continue
# for t in range(10) :
# if f==t or o==t or r==t :
# continue
# for y in range(10) :
# if f==y or o==y or r==y or t==y :
# continue
# for s in range(1,10) :
# if f==s or o==s or r==s or t==s or y==s :
# continue
# for i in range(10) :
# if f==i or o==i or r==i or t==i or y==i or s==i :
# continue
# for x in range(10) :
# if f==x or o==x or r==x or t==x or y==x or s==x or i==x :
# continue
# for e in range(6) :
# if f==e or o==e or r==e or t==e or y==e or s==e or i==e or x==e :
# continue
# for n in range(6) :
# if f==n or o==n or r==n or t==n or y==n or s==n or i==n or x==n or e==n :
# continue
# if e==5 and n==0 or e==0 and n==5 :
# if (f*10000+o*1000+r*100+t*10+y)+(t*100+e*10+n)+(t*100+e*10+n)==s*10000+i*1000+x*100+t*10+y :
# print(f,o,r,t,y,'+',t,e,n,'+',t,e,n,'=',s,i,x,t,y,sep='')




