Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a,b,c = map(int,input().split())
- d,e,f = map(int,input().split())
- x = d - a
- y = e - b
- z = c - f
- q = abs(x + y)
- if a<d and b<e:
- if (x+y)<z:
- print('There are no miracles in life')
- else:
- print('It is a kind of magic')
- elif a<d and b>=e:
- if x>z:
- print('There are no miracles in life')
- else:
- print('It is a kind of magic')
- elif b<e and a>=d:
- if y>z:
- print('There are no miracles in life')
- else:
- print('It is a kind of magic')
- else:
- if z < 0:
- if (q+z)<0:
- print('There are no miracles in life')
- else:
- print('It is a kind of magic')
- else:
- print('It is a kind of magic')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement