TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s,w = map(int, input().split())

print("safe" if w<s else "unself")

#!/usr/bin/env python3
import sys


def solve(S: int, W: int):
    print("safe" if S > W else "unsafe")
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    S = int(next(tokens))  # type: int
    W = int(next(tokens))  # type: int
    solve(S, W)

if __name__ == '__main__':
    main()


Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
numbers = input().split(" ")
healthOfT = int(numbers[0])
strengthOfT = int(numbers[1])
healthOfA = int(numbers[2])
strengthOfA = int(numbers[3])
for i in(0,1000):
	healthOfA=healthOfA-strengthOfT
	if healthOfA<=0:
		a=i
		break
for p in(0,1000):
	healthOfT=healthOfT-strengthOfA
	if healthOfT<=0:
		break
if p<i:
	print("No")
else:
	print("Yes")

s, w = map(int,input().split())
if s <= w:
    print("unsafe")
else:
    print("safe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S = int(input())
W = int(input())

if S < W:
    print('unsafe')
else:
    print('safe')

S = int(input())
W = int(input())

if S <= W:
    print('unsafe')
else:
    print('safe')


S, W = map(int,input().split())

if S <= W:
    print('unsafe')
else:
    print('safe')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
def main():
    s,w = map(int, input().split())
    if s > w:
        print('safe')
    else:
        print('unsefe')
if __name__ == "__main__":
    main()

def main():
    s,w = map(int, input().split())
    if s > w:
        print('safe')
    else:
        print('unsafe')
if __name__ == "__main__":
    main()

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s,w = int(input()),int(input())

if s <= w:
    print("unsafe")

else:
    print("safe")


data = []
while len(data) < 2:
    val = input()
    data = data + val.split(" ")
    #print(data)

for i,val in enumerate(data):
    data[i] = int(val)

s,w = data[0],data[1]

if s <= w:
    print("unsafe")

else:
    print("safe")


Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
tems = list(map(lambda x: int(x), input().split()))
s = items[0]
w = items[1]
print('safe' if s > w else 'unsafe')

items = list(map(lambda x: int(x), input().split()))
s = items[0]
w = items[1]
print('safe' if s > w else 'unsafe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
NUM = list(map(int,input().split()))

if(NUM[0] >= NUM[1]):
  print("unsafe")
elif(NUM[0] < NUM[1]):
  print("safe")


NUM = list(map(int,input().split))

if(NUM[0] >= NUM[1]):
  print("unsafe")
elif(NUM[0] < NUM[1]):
  print("safe")

NUM = list(map(int,input().split()))

if(NUM[0] > NUM[1]):
  print("safe")
elif(NUM[0] <= NUM[1]):
  print("unsafe")


Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
if __name__ == '__main__':
    S,W = map(int, input().split())
    if S >= W:
        print('unsafe')
    else :
        print('safe')


if __name__ == '__main__':
    S,W = map(int, input().split())
    print(S,W)
    if S > W:
        print('safe')
    elif S <= W:
        print('unsafe')


if __name__ == '__main__':
    S,W = map(int, input().split())
    print(S,W)
    if S >= W:
        print('safe')
    elif S < W:
        print('unsafe')


if __name__ == '__main__':
    S,W = map(int, input().split())
    if S > W:
        print('safe')
    elif S <= W:
        print('unsafe')


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
a = list(map(int,input().split()))
 
A = a[0]
B = a[1]
C = a[2]
D = a[3]
 
while B>0 and D>0:
  D = D - A
  if D <= 0:
    print("No")
    break
  B = B - D
  if B <= 0:
    print("Yes")
    break


a = list(map(int,input().split()))

if a[1] >= a[0] :
  print("unsafe")
else: 
  print("safe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
def compare():
  S=int(input())
  W=int(input())
  if S<=W:
    print("unsafe")
  else:
    print("safe")

def compare():
  S=int(input())
  W=int(input())
  if S<=W:
    print("unsafe")
  else:
    print("safe")
compare()

def compare():
    a,b=map(int,input().split())

    if a <= b:
        print("unsafe")
    else:
        print("safe")


compare()

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
n, a, b, c = (int(x) for x in input().split())
while n > 0 and b > 0:
    n -= c
    if n < 0:
        print("No")
        break
    b -= a
    if b < 0:
        print("Yes")
        break



n, a = (int(x) for x in input().split())
if n <= a:
    print("unsafe")
else:
    print("safe")


Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S, W = map(int, input().split())
    if S >= W:
        print('safe')
    else:
      S < W:
      print('unsafe')

S, W = map(int, input().split())
    if S >= W:
        print('safe')
    else S < W:
      print('unsafe')

S, W = map(int, input().split())
    if S >= W:
        print('safe')
    else S < W
      print('unsafe')

S, W = map(int, input().split())
    if S >= W:
        print('safe')
    else:
      S < W
      print('unsafe')

S,W = input()
    if S < W:
        print('unsafe')
    else:
    S > W:
        print('safe')

S,W = int(input())
    if S =< W:
        print('unsafe')
    else:
    S > W:
        print('safe')

S, W = map(int, input().split())
    if S >= W:
        print('safe')
    else S < W
      print('unsafe')

S,W = input()
    if S < W
        print('unsafe')
    else S > W
        print('safe')

S,W = input()
    if S < W
        print('unsafe'):
    else S > W
        print('safe'):

S, W = map(int, input().split())
    if S >= W:
        print('safe')
    else S < W:
      print('unsafe')

s,w=map(int,input().split())
if s>w:
    print('safe')
else :
    print('unsafe')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
n = int(input())
s = set(map(int,input().split()))
a = len(s)
print(a)

s,w = map(int,input().split())
if s <= w :
    print("unsafe")
else :
    print("safe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
a,b,c,d = input('').split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
while 1:
	c=c-b
	if c<=0:
		print('Yes')
		break
	a=a-d
	if a<=0:
		print('No')
		break

s, w = input(,)
if s >= w:
	print('safe')
else:
	print('unsafe')

a,b,c,d = input('').split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
while true:
	c=c-b
	if c<=0:
		print('Yes')
		break
	a=a-d
	if a<=0:
		print('No')
		break

s, w = input('').split()
s= int(s)
w=int(w)
if s > w:
	print('safe')
else:
	print('unsafe')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S = input()
l = len(S)

count = 0
for i in range(l):
  for j in range(l):
    if i < j:
      new_s = int(S[i:j+1])
      if new_s % 2019 == 0:
        count += 1
      else:
        continue
    else:
      continue
print(count)

S, W = [int(i) for i in input().split()]

if S <= W:
  print('unsafe')
else:
  print('safe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S=int(input())
W=int(input())
if W>=(S):
    print('Unsafe')
else:
    print('Safe')

S,W=map(int,input().split())
if (W>=S):
    print('Unsafe')
else:
    print('Safe')

s, w = map(int, input().split())
 
if w >= s:
    print("unsafe")
else:
    print("safe")

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s=int(input())
w=int(input())
if(s<=w):
  print("unsafe")
else:
  print("safe")

s,w=(int(x) for x in input().split())
if(s<=w):
  print("unsafe")
else:
  print("safe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
import sys
a = []
for l in sys.stdin:
    a.append(int(l))
p = input() .split()
s = set()
for i in range(1, len(p)):
    s.add(p[i])
print(len(set(s)))

s, w = map(int, (input().split()))
if s <= w:
    print("unsafe")
else:
    print("safe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S = input()
import numpy as np
length = len(S)
arr = np.array([int(S[i:j]) for i in range(0,length-3) for j in range(i+4, length+1)])
arr2 = arr % 2019
print(len(arr2)- np.count_nonzero(arr2))

S, W = map(int, input().split())
if W >= S:
    print("unsafe")
else:
    print("safe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S, W = map(int, input().split())

if S =< W:
  print("unsafe")
print("safe")

S, W = map(int, input().split())

if S < W:
  print("unsafe")
print("safe")

S, W = map(int, input().split())

if S < W/2:
  print("unsafe")
print("safe")

S, W = map(int, input().split())

if S =< W:
  print("unsafe")
else:
  print("safe")

S, W = map(int, input().split())

if S <= W:
  print("unsafe")
else:
  print("safe")

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s,w =map(int(input().split()))
if s<=w:
  print('unsafe')
else:
  print('safe')

s,w =map(int,input().split())
if s<=w:
  print('unsafe')
else:
  print('safe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
N = int(input())
S = [str(input()) for i in range(N)]
print(len(set(S)))

S, W = map(int,input().split())
print('unsafe'if W >= S else 'safe')



Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
A, B, C, D = map(int, input().split())

n = int(A/D)
m = int(C/B)

if n>m:
    x = n
else :
    x = m
    
for i in range(1, x+1):
    a = C - B
    t = A - D
    if a <= 0:
        print('Yes')
        break
    elif t <= 0:
        print('No')
        break

A, B, C, D = map(int, input().split())

n = int(A/D)
m = int(C/B)

if n<=m:
    print('No')
elif n>m:
    print('Yes')

S, W = map(int, input().split())

if S>W:
    print('safe')
else:
    print('unsafe')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
if S<=W:
  print("unsafe")
else:
  print("safe")

S=int(input())
W=int(input())
if S<=W:
  print("unsafe")
else:
  print("safe")

s=int(input())
w=int(input())
if w >= s:
  print("unsafe")
else:
  print("safe")

(S,W)=input()
if S<=W:
  print("unsafe")
else:
  print("safe")

(S,W)=input().split()
S=int(S)
W=int(W)
if S<=W:
  print("unsafe")
else:
  print("safe")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s, w = map(int, input().split())
if s > w:
    print('safe')
else:
    print('unsefe')

s, w = map(int, input().split())
if s > w:
    print('safe')
else:
    print('unsafe')

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s, w = map(int, input().split())

if s>w: print('unsafe')
else: print('safe')

a ,b = map(int,input().split())

if a <=b; print(“unsafe”)
else; print(“safe”)

a ,b = map(int,input().split())

if a <=b:print(“unsafe”)
else:print(“safe”)


s, w = map(int, input().split())

if s>w: print('safe')
else: print('unsafe')


Verdicts: Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
w,s = map(int, input().split())
print("unsafe" if w>=s else "safe")

s,w = map(int, input().split())
print("unsafe" if w>=s else "safe")

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
A, B, C, D = map(int, input().split())
t_eq = -(-C//B)
a_eq = -(-A//D)
if t_eq <= a_eq:
    print('Yes')
else:
    print('No')

S, W = map(int, input().split())
print('unsafe' if S <= W else 'safe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s,w = map(int , input().split())
if(s > w):
    print("unsafe")
else:
    print("safe")

s,w = map(int , input().split())
if(s > w):
    print("safe")
else:
    print("unsafe")

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S, W = int(inpit())

if S <= W:
    print('unsafe')
    elif S > W
    print('safe')
    

S, W = int(input())

if S <= W:
    print('unsafe')
    elif S > W
    print('safe')
    


S, W = int(inpit())

if S <= W:
    print('unsafe')
else S > W:
    print('safe')
    


S, W = map(int, input().split())

if S <= W:
    print('unsafe')
else:
    print('safe')
    


Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s, w = map(int, input().split())

if s < w
    out = 'unsafe'
else:
    out = 'safe'

print(out)

s, w = map(int, input().split())

if s < w
    out = 'unsafe'
else
    out = 'safe'

print(out)

s, w = map(int, input().split())

if s < w
    print('unsafe')
else:
    print('safe')

s, w = map(int, input().split())

if s < w
  print("unsafe")
else:
  print("safe")

s, w = map(int, input().split())

if s <= w:
  print("unsafe")
else:
  print("safe")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
import sys
sys.setrecursionlimit(10000000)
s=input()
n=len(s)
def mod10(x):
    p=x//10000000
    q=x-10000000*p
    if p==0:
        return (10**q)%2019
    return ((10**q)*mod10(p))%2019

def T(i):
    if i==n-1:
        return int(s[n-1])
    return T(i+1)+10**(n-1-i)*int(s[i])
dict={}
def modi(i,dict):
    if i in dict.keys():
        return dict[i]
    else:
        if i==n-1:
            dict[i]=int(s[i])
            return int(s[i])
        else:
           # c=modi(i+1,dict)+(10**(n-1-i)*int(s[i]))
            c=modi(i+1,dict)+(mod10(n-1-i)*int(s[i]))
            c=c%2019
            dict[i]=c
            return c

modnum={}
for i in range(n):
    #print(T(i))
    if int(s[i])==0:
        continue
    x=modi(i,dict)
 #   print(T(i),x)
    if x not in modnum.keys():
        modnum[x]=1
    else:
        modnum[x]+=1
sum=0
for md in modnum.keys():
    a=modnum[md]
    if md==0:
        sum+=a
        sum+=-(a*(a-1)//2)
   # print(a*(a-1)//2)
    sum+=a*(a-1)//2
#print(modnum)
print(sum)


s,w=map(int,input().split())
if w<s:
    print("safe")
else:
    print("unsafe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S, W = map(int, input().split())
if S <= w:
	print("unsafe")
else:
    print("safe")

S, W = map(int, input().split())
if S <= W 
	print("unsafe")
else:
    print("safe")

S, W = map(int, input().split())
if S <= W:
	print("unsafe")
else:
	print("safe")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s, w = map(int, input().split())

if s >= w:
    print("unsafe")
else:
    print("safe")

s, w = map(int, input().split())

if w >= s:
    print("unsafe")
else:
    print("safe")

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
W, S = map(int, input().split())
if W >= S:
  print('unsafe')
else:
  print('safe')


S, W = map(int, input().split())
if S >= W:
  print('unsafe')
else:
  print('safe')


S, W = map(int, input().split())
if S <= W:
  print('unsafe')
else:
  print('safe')


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s, w = map(int, input().split()) 
if s > w
	print("safe")
else
	print("unsafe")

s, w = map(int, input().split()) 
if s > w
	print ("safe")
else print ("unsafe")

s, w = map(int, input().split()) 
if s > w:
	print("safe")
else:
	print("unsafe")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s = int(input())
w = int(input())
if s <= w:
  print "unsafe"
else:
  print "safe"

s, w = map(int, input().split())
if ( w >= s):
  print "unsafe"
else:
  print "safe"

s, w = map(int, input().split())
print("unsafe" if s<=w else "safe")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
a, b, c, d = map(int, input().split())
x = -(-c // b)
y = -(-a // d)
if x <= y:
    print('Yes')
else:
    print('No')


s, w = map(int, input().split())
if s <= w: print('unsafe')
else     : print('safe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S W
if W>=(S/2):
  print('safe')
else:
  print('unsafe')



def wolfsheep(S,W):
  if W>=(S/2):
    print('safe')
  else:
    print('unsafe')


S,W = map(int, input().split())
if W >= S:
  print('unsafe')
else:
  print('safe')

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s = int(input())
w = int(input())
if w >= s:
    print("unsafe")
else:
    print("safe")

s,w = map(int, user_input().split())
if w >= s:
	print("unsafe")
else:
	print("safe")

S, W = map(int, raw_input().split())
if S >= W:
  print("unsafe")
else:
  print("safe")

s,w = map(int,input().split())
if w >= s:
    print("unsafe")
else:
    print("safe")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
try:
  s,w=map(int,input().split())
  if(w>=s):
    print("unsafe")
   else:
    print("safe")
except:
  pass

s, w = map(int, input().split())
if w >= s:
  print('unsafe')
else:
  print('safe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S,W=map(unt,input().split())
if S>W:
  print("safe")
else:
  print("unsafe")

s,w=map(int,input().split())
if s > w:
  print("safe")
else:
  print("unsafe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
In [93]: s, w  = map(int,input().split()) 
    ...: print("{} {}".format(s,w)) 
    ...: if s <= w: 
    ...:     print("unsafe") 
    ...: else : 
    ...:     print("safe") 

In [93]: s, w  = map(int,input().split()) 
    ...: if s <= w: 
    ...:     print("unsafe") 
    ...: else : 
    ...:     print("safe") 

s, w  = map(int,input().split())
if s <= w:
    print("unsafe")
else :
    print("safe") 


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s=input()
for i in map(int, s.split()):
    lis.append(i)
if lis[0]>lis[1]:
    print("safe")
else:
    print("unsafe")

s=input()
lis=s.split()
if int(lis[0])>int(lis[1]):
    print("safe")
else:
    print("unsafe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S=int(input())
W=int(input())
if W>=S:
    print('unsafe')
else:
    print('safe')

a=list(map(int,input().split()))
if a[1]>=a[0]:
    print('unsafe')
else:
    print('safe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s, w = [int(i) for i in input().spli()]
if s <= w:
  print("unsafe")
else:
  print("safe")

s, w = [int(i) for i in input().split()]
if s <= w:
  print("unsafe")
else:
  print("safe")


Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
n, m = map(int, input().split())
if n >= m:
    print('unsafe')
else:
    print('safe')

n, m = map(int, input().split())
if m >= n:
    print('unsafe')
else:
    print('safe')

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):

def solve():
    s = int(input())
    w = int(input())
    
    if (w >= s):
        print('unsafe')
    else :
        print('safe')
    
    return 

if __name__ == '__main__':
    solve()

import sys

def solve():
    i = input()
    s, w = i.split()
    s = int(s)
    w = int(w)
    
    if (w >= s):
        print('unsafe')
    else :
        print('safe')
    
    return 

if __name__ == '__main__':
    solve()

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
A,B,C,D=map(int,input().split())
while A>0:
  C-=B
  if C<=0:
    print("Yes")
    exit()
  A-=D
print("No")

s,w=map(int,input().split())
if s>w:
    print("safe")
else:
    print("unsafe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
sw = input().split()

if sw[0] > w[1]:
    print("safe")
else:
    print("unsafe")

sw = input().split()

if int(sw[0]) > int(sw[1]):
    print("safe")
else:
    print("unsafe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S = int(input())
W = int(input())
if S <= W:
  print('unsafe')
else:
  print('safe')

S = list(map(int, input().split()))
if S[0] <= S[1]:
  print('unsafe')
else:
  print('safe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s=input()
n=len(s)
count=0
a=[0 for i in range(n)]
for i in range(3,n):
    a[i]=10**i%2019
if n<4:
    print(0)
else:
    for i in reversed(range(2,n)):
        k=int(s[i-2:i+1])
        h=3
        for j in reversed(range(0,i-2)):
            k=k+a[h]*int(s[j])
            h+=1
            if k%2019==0:
                count+=1
    print(count)

s,w=map(int,input().split())
if w>=s:
    print("unsafe")
else:
    print("safe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
th,td,ah,ad = map(int,input().split())
x,y = (td+ah-1)//td,(ad+th-1)//ad
if(x<=y):print("Yes")
else:print("No")


s,w = map(int,input().split())
if(w>=s):print("unsafe")
else:print("safe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
[A, B, C, D] = list(map(int, input().split()))
X = A / D
Y = C / B
if (X - Y) > 1:
    print('Yes')
else:
    if Y > X:
        print('No')
    else:
        print('Yes')

[A, B, C, D] = list(map(int, input().split()))
X = A / D
Y = C / B
if (X - Y) > 1:
    print('Yes')
else:
    if Y > X:
        print('No')
    else:
        print('Yes')

[A, B, C, D] = list(map(int, input().split()))
X = A / D
Y = C / B
if (X - Y) > 1:
    print('Yes')
else:
    if Y > X:
        print('No')
    else:
        print('Yes')

[S, W] = list(map(int, input().split()))
if W >= S:
    print('unsafe')
else:
    print('safe')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
a,b=map(int,input().split())

print("safe" if a<b else "unsafe")

a,b=map(int,input().split())

print("safe" if a>b else "unsafe")

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s, w = map(int, input(),split())
if w > s:
  print("unsafe")
else:
  print("safe")

s, w = map(int, input().split())
if w >= s:
  print("unsafe")
else:
  print("safe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S,W = map(int,input()split())
#L = list(map(int,input()split()))
if W >= S:
    print("unsafe")
else:
    print("safe ")

S,W = map(int,input().split())
#L = list(map(int,input()split()))
if W >= S:
    print("unsafe")
else:
    print("safe ")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
import numpy as np


def count_multi(s, d):
  a = np.array([c for c in s]).astype(np.int)
  m = a  # % d
  keta = 1
  count = np.count_nonzero(m == 0)
  while len(m) > 1:
    m = (10*m[:-1] + a[keta:]) % d
    keta += 1
    count += np.count_nonzero(m == 0)
  return count
        
print(count_multi(input().strip(), 2019))


import numpy as np


def count_multi(s, d):
  m = a = np.array([c for c in s]).astype(np.int)
  keta = 1
  count = np.count_nonzero(m == 0)
  while len(m) > 1:
    m = (m[:-1]*10 + a[keta:]) % d
    keta += 1
    count += np.count_nonzero(m == 0)
  return count
        
print(count_multi(input().strip(), 2019))


import numpy as np


def count_multi(s, d):
  m = a = np.array([int(c) for c in s])  # .astype(np.int)
  keta = 1
  count = np.count_nonzero(m == 0)
  while len(m) > 1:
    m = (m[:-1]*10 + a[keta:]) % d
    keta += 1
    count += np.count_nonzero(m == 0)
  return count
        
print(count_multi(input().strip(), 2019))


s, w = [int(x) for x in input().strip().split()]
print("safe" if s > w else "unsafe")


Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s,w = map(int,input().split(' '))
if w >= s:
  print(unsafe)
else:
  print(safe)


s,w = map(int,input().split(' '))
if w >= s:
  print('unsafe')
else:
  print('safe')


Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S,W=int(input()),int(input())
if S <= W:
  print('unsafe')
else:
  print('safe')

# AtCoder
S, W = map(int, input().split())
if S <= W:
    print('unsafe')
else:
    print('safe')


Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
a,b,c,d=map(int,input().split())
a=a-d
c=c-b
if c>=a:
    print("No")
else:
    print("Yes")

s,w=map(int,input().split())
if w >= s:
    print("unsafe")
else:
    print("safe")

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s, w = map(int, input())
if s <= w:
  print('unsafe')
else:
  print('safe')
  

s, w = map(int, input().split())
if s <= w:
  print('unsafe')
else:
  print('safe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
A, B, C, D = map(int, input().split())
while 1:
  C -= B
  if C <= 0:
    print('Yes')
    break
  A -= D
  if A < 0:
     print('No')
     break

A, B, C, D = map(int, input().split())
while 1:
  C -= B
  if C <= 0:
    print('Yes')
    break
  A -= D
  if A < 0:
     print('No')
     break

A, B, C, D = map(int, input().split())
while true:
  C -= B
  if C <= 0:
    print('Yes')
    break
  A -= D
  if A < 0:
     print('No')
      break

S, W = map(int, input().split())
if S < = W :
  print('unsafe')
else :
  print('safe')

S, W = map(int, input().split())

if S <= W :
  print('unsafe')
else :
  print('safe')

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
a,b,c,d=map(int,input().split())
while 1:
    c-=b
    if a<=0  or c<=0:
        break
    a -= d
    if a<=0  or c<=0:
        break
print('Yes' if a>0 else 'No')


n,m=map(int,input().split())
print('unsafe' if m>=n else 'safe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
if S > W:
  return print('safe')
else:
  return print('unsafe')


if S > W:
  print('safe')
else:
  print('unsafe')

S = int(input())
W = int(input())

if S>W:
  print('safe')
else:
  print('unsafe')


import random

S = random.randint(1, 100)
W = random.randint(1, 100)

if S>W:
  print('safe')
else:
  print('unsafe')
      

S = input()
W = input()

if S > W:
  print('safe')
else:
  print('unsafe')

import random

S = random.randint(1, 100)
W = random.randint(1, 100)

if S>W:
  print('safe')
else:
  print('unsafe')

S, W = input().split()

S = int(S)
W = int(W)

if S <= W:
    print('unsafe')
else:
    print('safe')


Verdicts: Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S = str(input())

S_list =list(S)


A = 0
for i in range(0,len(S_list)-1):
    for j in range(i+3,len(S_list)+1):
        P = 0
        S_list_P = S_list[i:j]
        for k in range(0,j-i):
            P += int(S_list_P[k])* 10 ** (j-i-k-1)

        if P % 2019== 0:
            A += 1



print(A)


S,W = map(int,input().split())

if S <= W:
    print("unsafe")

else :
    print("safe")


Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s, w = int(input().split())
if s > w:
  print("safe")
if w > s:
  print("unsafe")
if s == w:
  print("unsafe")

s, w = (for i in input().split())
if s > w:
  print("safe")
if w >= s:
  print("unsafe")

s, w = int(input().split())
if s > w:
  print("Safe")
if w > s:
  print("Unsafe")

s, w = (int(x) for x in input().split())
if s > w:
  print("safe")
if w >= s:
  print("unsafe")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
cnt=0
S=str(input())
mc=[0]*2019
L=len(S)

tg=0
digit=1
for s in S[::-1]:
    tg+=int(s)*digit
    mt=tg%2019
    if mt==0:cnt+=1
    cnt+=mc[mt]
    mc[mt]+=1
    digit*=10
    
print(cnt)


S,W=map(int,input().split())

if W>=S:
    print('unsafe')
else:
    print('safe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):

def main():
    s, w = map(int, input())
    if w >= s:
        print('unsafe')
    else:
        print('safe')


if __name__ == "__main__":
    main()



def main():
    s, w = map(int, input())
    if w >= s:
        print('unsafe')
    else:
        print('safe')


if __name__ == "__main__":
    main()



def main():
    s, w = map(int, input().split())
    if w >= s:
        print('unsafe')
    else:
        print('safe')


if __name__ == "__main__":
    main()


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s,w = map(int,input().split())
if s >= w :
    print("unsafe")
else :
    print("safe")

s,w = map(int,input().split())
if s <= w :
    print("unsafe")
else :
    print("safe")

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
A, B, C, D = map(int, input().split())
flg = True
for i in range(2 * max(A, C) + 1):
    if i % 2 == 0:
        C -= B
        print('C: ', C)
        if C <= 0:
            flg = False
            print('Yes')
    else:
        A -= D
        if A <= 0:
            flg = False
            print('No')
    if not flg:
        break


S, W = map(int, input().split())
if W >= S:
    print('unsafe')
else:
    print('safe')


Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s,w = map(int,input().split())
print(s)

if s<=w:
  print('unsafe')
else:
  print('safe')

s,w = map(int,input().split)

if s<=w:
  print('unsafe')
else:
  print('safe')

s == int(input())
w == int(input())

if s<=w:
  print('unsafe')
else:
  print('safe')

s,w = map(int,split.input())


if s<=w:
  print('unsafe')
else:
  print('safe')

s = int(input())
w = int(input())

if s<=w:
  print('unsafe')
else:
  print('safe')

s,w = map(int,input().split())

if s<=w:
  print('unsafe')
else:
  print('safe')

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s, w = input().split()
if w >= s:
    print('unsafe'):
else:
    print('safe')
    

s, w = [int(x) for x in input().split()]

if w >= s:
    print('unsafe')
else:
    print('safe')


Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S, W = int(input())
if S > W:
	print('safe')
else:
	print('unsafe')

S, W = map(int, input().split())
if S > W:
	print('safe')
else:
	print('unsafe')

Verdicts: Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S,W=map(int,input().split())
if S=<W:
    print("unsafe")
else:
    print("safe")

S,W=map(int,input().split())
if S　<=　W:
    print("unsafe")
else:
    print("safe")

S,W=map(int,input().split())
if S <= W:
    print("unsafe")
else:
    print("safe")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S,W = [i for i in input().split(" ")]
if (W>=S) :
    print("safe")
else:
    print("unsafe")

S,W = [int(i) for i in input().split(" ")]
if (S<=W) :
    print("unsafe")
else:
    print("safe")

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
s,w=map(int,input().split())
if s < w:
  print('safe')
else:
  print('unsafe')

s,w=map(int,input().split())
if s > w:
  print('safe')
else:
  print('unsafe')

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
S, W = map(int, input().split())
if W>S:
    print("safe")
else:
    print("unsafe")

S, W = map(int, input().split())
if W>=S:
    print("unsafe")
else:
    print("safe")

Verdicts: Wrong Answer

Accepted
Problem: There are S sheep and W wolves.  If the number of wolves is greater than or equal to that of sheep, the wolves will attack the sheep.  If the wolves will attack the sheep, print `unsafe`; otherwise, print `safe`.

Submission attempts (in order):
A, B = map(int.input().split())

if (A > B):
    print('safe')
else:
    print('unsafe')


A, B = map(int, input().split())

if (A > B):
    print('safe')
else:
    print('unsafe')


Verdicts: Runtime Error

Accepted