fork download
  1. height1, height2, height3 = map(int, input().split())
  2.  
  3. if (height2 > height1 and height2 > height3) or (height2 < height1 and height2 < height3):
  4. print("ambele")
  5. elif height2 > height1 and height2 < height3:
  6. print("deal")
  7. else:
  8. print("vale")
  9.  
Success #stdin #stdout 0.03s 9820KB
stdin
1 2 3
stdout
deal