#1 Task
n = int(input())
m = int(input())
if(m % n): print("YES")
else: print("NO")
#2 Task
x = int(input())
if(not(x % 2) and (x % 3)): print("YES")
#3 Task
y = int(input())
if((x < 0) and (y > 0) or (x > 0) and (y < 0)): print("YES")
#4 Task
if((n // 100) == (n % 10)): print("YES")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
#1 Task
n = int(input())
m = int(input())
if(m % n): print("YES")
else: print("NO")
#2 Task
x = int(input())
if(not(x % 2) and (x % 3)): print("YES")
else: print("NO")
#3 Task
x = int(input())
y = int(input())
if((x < 0) and (y > 0) or (x > 0) and (y < 0)): print("YES")
else: print("NO")
#4 Task
n = int(input())
if((n // 100) == (n % 10)): print("YES")
else: print("NO")