fork download
  1. a=int(input())
  2. b=int(input())
  3. c=int(input())
  4. d=int(input())
  5. if a // b == c and a % b == d:
  6. print("ДА")
  7. else:
  8. print("НЕТ")
  9.  
Success #stdin #stdout 0.08s 14164KB
stdin
7
3
2
1
stdout
ДА