Problem:


Score : 100 points

Problem Statement

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.

Constraints

1 \leq S \leq 100

1 \leq W \leq 100

Input

Input is given from Standard Input in the following format:

S W

Output

If the wolves will attack the sheep, print unsafe; otherwise, print safe.

Sample Input 1

4 5

Sample Output 1

unsafe

There are four sheep and five wolves. The number of wolves is not less than that of sheep, so they will attack them.

Sample Input 2

100 2

Sample Output 2

safe

Many a sheep drive away two wolves.

Sample Input 3

10 10

Sample Output 3

unsafe



Sample input:
4 5


Sample output:
unsafe

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S, W = [int(s) for s in input().split()]
print('unsafe') if S <= W else print('safe')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S,W=(int(x) for x in input().split())
if S>W:
    print("safe")
else:
    print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import factorial as fact
import math
import fractions
import sys
import itertools
import numpy as np
from collections import Counter
import datetime
#入力:N(int:整数)
def input1():
	return int(input())

#入力:N,M(int:整数)
def input2():
	return map(int,input().split())

#入力:[n1,n2,...nk](int:整数配列)
def input_array():
	return list(map(int,input().split()))

def keta(N):
	return len(str(N))


def input_daytime(input_time):
	time,distance=input_time.split()
	t=time.split(":")
	se=str(t[-1]).split(".")
	dt1 = datetime.timedelta(hours=int(t[0]),minutes=int(t[1]),seconds=int(se[0]),milliseconds=int(se[1]))
	return dt1

def combinations(n,r):
	return list(itertools.combinations(n,r))

def all_sets(num_list):
	subsets=[]
	for i in range(2,len(num_list) + 1):
		for c in combinations(num_list, i):
			subsets.append(c) 
	return subsets

#公約数の列挙
def ch(x1):
	cf=[]
	for i in range(2,math.sqrt(x1)+1):
		if x1 % i==0:
			cf.append(i)
	return cf

def CountOneRoots(x,y):
	#x:縦，y:横
	return fact(x+y)/fact(x)/fact(y)

# 素因数分解
def factorization(n):
	tmp=n
	count=0
	for i in range(2,int(n**0.5)+2):
		if tmp%i==0:
			cnt=0
			while tmp%i==0:
				cnt+=1
				tmp//=i
			count+=1
	if tmp!=1:
		count+=1

	return count
			


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

# a,b,c,d=input2()

# for i in range(1,101):
# 	if i%2==1:
# 		c-=b
# 		if c<=0:
# 			print("Yes")
# 			break
# 	else:
# 		a-=d
# 		if a<=0:
# 			print("No")
# 			break

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

t1 = N.split()
if int(t1[0]) <= int(t1[1]):
    
    print('unsafe')
    
else:
    
    print('safe')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S, W = map(int, input().split())

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

Submission status: Accepted

Solution code:
a = input().split()
s = int(a[0])
w = int(a[1])
if s <= w:
  print('unsafe')
else:
  print('safe')

Submission status: Accepted

Solution code:
SW =  list(map(int, input().split()))
S = SW[0]
W = SW[1]

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

Submission status: Accepted

Solution code:
S, W = (int(x) for x in input().split())
if W >= S:
    print('unsafe')
else:
    print('safe')

Submission status: Accepted

Solution code:
num=list(map(int,input().split()))
if num[0]>num[1]:
  print("safe")
else:
  print("unsafe")

Submission status: Accepted

Solution code:
sheep,wolf=input().split()
sheep=int(sheep)
wolf=int(wolf)
if(wolf<=100 and wolf>=1 and sheep>=1 and sheep<=100):
  if(wolf>=sheep):
    print("unsafe",end="")
  else:
    print("safe",end="")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S, W = map(int, input().split())

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

Submission status: Accepted

Solution code:


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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
if b>=a:
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

Solution code:
from sys import stdin

def main():
    s_w = [int(x) for x in stdin.readline().split()]
    if s_w[1] >= s_w[0]:
        print("unsafe")
    else:
        print("safe")

main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=input().split()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
 
S, W = map(float, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
line = input().split(" ")
if int(line[0])>int(line[1]):
    print("safe")
else:
    print("unsafe")

Submission status: Accepted

Solution code:


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

if(a[0]<=a[1]):
    print('unsafe')
else:
    print('safe')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s, w = map(int, input().split())
print(['safe', 'unsafe'][w >= s])

Submission status: Accepted

Solution code:
nums = input().split()

S = int(nums[0])
W = int(nums[1])


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

Submission status: Accepted

Solution code:
S, W = (int(x) for x in input().split())
if S > W:
    print("safe")
else:
    print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S,W = map(int, input().split())

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

Submission status: Accepted

Solution code:
def read():
    S, W = map(int, input().split())
    return S, W

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

if __name__ == '__main__':
    inputs = read()
    print("{}".format(solve(*inputs)))

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
x, y = [int(x) for x in input().split()] 
if y >= x: print('unsafe')
else: print('safe')

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s,w=map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

def main():
    S, W = map(int, read().split())
    print('safe' if S > W else 'unsafe')
    return

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a,b=(int(i)for i in input().split())
print("unsafe" if a<=b else "safe")

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
 
if a > b:
    print("safe")
else:
    print("unsafe")

Submission status: Accepted

Solution code:
s, w = list(map(int, input().split(" ")))

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

Solution code:
S,W = list(map(int,input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S,W = map(int, input().split())

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
input_SW = list(map(int,input().split()))


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

Submission status: Accepted

Solution code:
#!python3

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


def main():
    ans = "safe" if S > W else "unsafe"
    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S ,W = input().split()
if int(S) > int(W):
    print('safe')

else:
    print('unsafe')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S,W = (int(x) for x in input().split())
if S <= W:
    print('unsafe')
else:
    print('safe')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sheep, wolves = map(int, input().split())
if sheep <= wolves :
  print("unsafe")
else:
  print("safe")

Submission status: Accepted

Solution code:
N, M = map(int, input().split())
if N > M:
 print("safe")
else:
 print("unsafe")

Submission status: Accepted

Solution code:
sw = input().split()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
sheep,wolf = input().strip().split()
sheep,wolf = [int(sheep),int(wolf)]
if sheep <= wolf:
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
rist = input().split()
if int(rist[0]) > int(rist[1]):
  print("safe")
else:
  print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
sys.setrecursionlimit(2 * 10**6)


def inpl():
    return list(map(int, input().split()))


def main():
    S, W = inpl()
    if W >= S:
        print("unsafe")
    else:
        print("safe")


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list = list(map(int, input().split()))
S = list[0]
W = list[1]
if W >= S: print("unsafe")
else: print("safe")

Submission status: Accepted

Solution code:
a , b = map(int,input().split())

if a > b :
    print("safe")

else :
    print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S,W = map(int,input().split())

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

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S, W = map(int, input().strip().split())

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys


def solve(S: int, W: int):
    if S > W:
        print("safe")
    else:
        print("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()

Submission status: Accepted

Solution code:
a,b=map(int,input().split())
if a>b:
  print("safe")
else:
  print("unsafe")

Submission status: Accepted

Solution code:
s , w = map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
inputLine = input()

tempStr = inputLine.split(' ')

numSheep = int(tempStr[0])
numWolf = int(tempStr[1])


print("unsafe" if numWolf >= numSheep else "safe")

Submission status: Accepted

Solution code:
S, W = map(int, input().split())


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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
def print_ans(S, W):
    """Test Case
    >>> print_ans(4, 5)
    unsafe
    >>> print_ans(100, 2)
    safe
    >>> print_ans(10, 10)
    unsafe
    """
    if S > W :
         print('safe')
    else:
        print('unsafe')
if __name__ == '__main__':
    S, W = map(int, input().rstrip().split())
    print_ans(S, W)

Submission status: Accepted

Solution code:
com =list(map(int,input().split()))
S = com[0]
W = com[1]
if S <= W:
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

Solution code:
[S, W] = list(map(int, input().split()))

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

Submission status: Accepted

Solution code:
s,w=map(int,input().split())

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

Submission status: Accepted

Solution code:
s, w = map(int,input().split())

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

Submission status: Accepted

Solution code:
s = input().split()

hitsuji = int(s[0])
ookami = int(s[1])

if (hitsuji > ookami):
  print('safe')
else:
  print('unsafe')

Submission status: Accepted

Solution code:
N,M = map(int,input().split())

if M >= N :
    print('unsafe')
else :
    print('safe')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(int,input().split())

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

Submission status: Accepted

Solution code:
N, M = map(int, input().split())
if N <= M:
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

Solution code:
i = list(map(int, input().split()))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S,W = map(int,input().split())

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

else :
    print("safe")

Submission status: Accepted

Solution code:
def Main(S, W):
    return 'unsafe' if S <= W else 'safe'

def main():
    S, W = map(int, input().split())
    print(Main(S, W))

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
if b >= a: print("unsafe")
else: print("safe")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S, W = map(int, input().split())
print(("un" if W >= S else "") + "safe")

Submission status: Accepted

Solution code:
N, M = map(int,input().split())
print("unsafe" if N<=M else "safe")

Submission status: Accepted

Solution code:
num = map(int, input().split())
list1=[]
for i in num:
    list1.append(i)
if list1[0]<list1[1]:
    print("unsafe")
elif list1[0]>list1[1]:
    print("safe")
else:
    print("unsafe")

Submission status: Accepted

Solution code:
a,b=map(int, input().split())
print('unsafe') if a<=b else print('safe')

Submission status: Accepted

Solution code:
sw = [int(i) for i in input().split()]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# S,Wの入力
S,W = map(int,input().split())

# S,Wの比較
if S > W:
    print("safe")
else:
    print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


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


if __name__ == '__main__':
    answer = solve()
    print(answer)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
def main():
    S, W = map(int, input().split())
    if W >= S:
        print("unsafe")
    else:
        print("safe")
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s,w=[int(x) for x in input().split()]
if w>=s:print('unsafe')
else:print('safe')

Submission status: Accepted

Solution code:
S, W = map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S, W = map(int, input().split())
import math

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S, W = [int(i) for i in input().split()]
if W >= S:
  print('unsafe')
else:
  print('safe')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import sys

stdin = sys.stdin

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))
mod = 10**9 + 7 
sys.setrecursionlimit(1000010)


S,W = nm()
A  = nl()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    x,y = tuple([int(t)for t in input().split()])

    if x<=y:
        print("unsafe")
    else:
        print("safe")


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S,W=map(int,input().split())

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

Submission status: Accepted

Solution code:
s, w = map(int, input().split())

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

Submission status: Accepted

Solution code:

def Sol(s,w):
    
    if s>w:
        print("safe")
    else:
        print("unsafe")
    
    return

    

#for t in range(int(input())):
n,k = map(int,input().split())
#n = int(input())
#arr = []
#for i in range(n):
#    time = list(map(int,input().split()))
#    time = time[0] + (time[1]/60)
#    arr.append(time)
#arr = list(map(int,input().split()))
#k = input()
#n = int(input())
Sol(n,k)

Submission status: Accepted

Solution code:
n,m=map(int,input().split())
def func(n,m):
    return "unsafe" if n<=m else "safe"
print(func(n,m))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

Solution code:
S, W = (int(i) for i in input().split())  

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
line = input().split()
s=int(line[0])
w=int(line[1])
if s<=w:
  print("unsafe")
else:
  print("safe")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S,W = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
L = list(map(int,input().split()))
S=L[0]
W=L[1]
if W>=S:
 print("unsafe")
else:
 print("safe")

Submission status: Accepted

Solution code:
s,w=[int(i) for i in input().split()]
if w>=s:
  print('unsafe')
else:
  print('safe')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S, W = list(map(int, input().split()))

is_attacked = W >= S
answer = 'unsafe' if is_attacked else 'safe'

print(answer)

Submission status: Accepted

Solution code:
#%% for atcoder uniittest use
import sys
input= lambda: sys.stdin.readline().rstrip()
def pin(type=int):return map(type,input().split())
def tupin(t=int):return tuple(pin(t))
#%%code
def resolve():
    N,M=pin()
    cond=M<N
    print(["unsafe","safe"][cond])
#%%submit!
resolve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s,w=map(int,input().split(" "))
#print(a,b)
if s>w:
  print("safe")
else:
  print("unsafe")

Submission status: Accepted

Solution code:
S, W = [int(k) for k in input().split(' ')]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s,w  = map( int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s,w = input().split()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S,W = map(int, input().split())

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(1 << 25)
read = sys.stdin.readline
ra = range
enu = enumerate


def read_ints():
    return list(map(int, read().split()))


def read_a_int():
    return int(read())


def read_tuple(H):
    '''
    H is number of rows
    '''
    ret = []
    for _ in range(H):
        ret.append(tuple(map(int, read().split())))
    return ret


def read_col(H):
    '''
    H is number of rows
    A列、B列が与えられるようなとき
    ex1)A,B=read_col(H)    ex2) A,=read_col(H) #一列の場合
    '''
    ret = []
    for _ in range(H):
        ret.append(list(map(int, read().split())))
    return tuple(map(list, zip(*ret)))


def read_matrix(H):
    '''
    H is number of rows
    '''
    ret = []
    for _ in range(H):
        ret.append(list(map(int, read().split())))
    return ret
    # return [list(map(int, read().split())) for _ in range(H)] # 内包表記はpypyでは遅いため


MOD = 10**9 + 7
INF = 2**31  # 2147483648 > 10**9
# default import
from collections import defaultdict, Counter, deque
from operator import itemgetter
from itertools import product, permutations, combinations
from bisect import bisect_left, bisect_right  # , insort_left, insort_right
from math import gcd
S, W = read_ints()
print('unsafe' if S <= W else 'safe')

Submission status: Accepted

Solution code:
# スペース区切りの整数入力
S,W = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s,w = map(int, input().split())

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

Submission status: Accepted

Solution code:
from heapq import *
import sys
from collections import *
from itertools import *
from decimal import *
import copy
from bisect import *
import time
import math
def gcd(a,b):
    if(a%b==0):return(b)
    return (gcd(b,a%b))
S,W=map(int,input().split())
if not S<=W:
    print("safe")
else:
    print("unsafe")

Submission status: Accepted

Solution code:
k, n = map(int, input().split())

if k > n : 
  print("safe")
else:
  print("unsafe")

Submission status: Accepted

Solution code:
S,W=input().split()
S=int(S)
W=int(W)
if(1<=S<=100)and(1<=W<=100):
    if W>=S:
        print("unsafe")
    else:
        print("safe")