Masala #TGTNW0MTHX
  
Iftar time
N people bought K dates(xurmo) for breaking their fast(ro'za). Your task is to determine if it is possible to distribute K dates equally among N people.
Kiruvchi ma'lumotlar:
A single line containing the natural numbers N and K. \((1 \le N, K \le 1000)\)
Chiquvchi ma'lumotlar:
Print "Yes" if it is possible to distribute K dates equally among N people, otherwise print "No".
Misollar
# | input.txt | output.txt |
---|---|---|
1 |
5 15 |
Yes |
2 |
5 21 |
No |
3 |
10 120 |
Yes |
Yechimini yuborish
Bu amalni bajarish uchun tizimga kiring,
agar profilingiz bo'lmasa istalgan payt ro'yxatdan o'tishingiz mumkin