fork download
  1. h = int(input()) # рост
  2. w = int(input()) # вес
  3.  
  4. if 168 <= h <= 178 and w < h - 115:
  5. print("принят")
  6. else:
  7. print("не принят")
  8.  
Success #stdin #stdout 0.01s 7188KB
stdin
170
50
stdout
принят