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

Solution (Python):


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

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

else:
    print("safe")

Solution (Python):
def NextIntList(): return list(map(int,input().split()))


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

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

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

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

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

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

Solution (Python):
s, w = list(map(int, input().rstrip().split()))

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

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

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

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

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

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

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

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

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

Solution (Python):
S, W = map(int, input().split())
if W >= S:
    print("un", end="")
print("safe")

Solution (Python):
line =input().split(" ")
sheep=int(line[0])
walf=int(line[1])

if sheep<=walf:
  print("unsafe")
else:
  print("safe")

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

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

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

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

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

Solution (Python):
n_ls = input().split(" ")
s, w = int(n_ls[0]), int(n_ls[1])

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

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

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

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

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

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

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

Solution (Python):
inputs = input()
S,W = inputs.split()
result = int(S) - int(W)
if result <= 0:
    print("unsafe")
else:
    print("safe")

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

Solution (Python):

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

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

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

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

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

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

Solution (Python):
from sys import stdin

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

Solution (Python):

sheep, wolf = list(map(int, input().split()))
if sheep > wolf:
  print('safe')
else:
  print('unsafe')

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

Solution (Python):
unchi,buri=map(int, input().split())
 
if unchi>buri:
	print("safe")
if unchi<buri:
	print("unsafe")
if unchi==buri:
	print("unsafe")

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

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

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

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

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

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

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

if __name__ == '__main__':
    main()

Solution (Python):

l = input().split()
s = int(l[0])
w = int(l[1])

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

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

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

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

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

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

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

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

Solution (Python):

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

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

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

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

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

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

Solution (Python):
a = list(map(int,input().split()))

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

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

main()

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

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

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

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

Solution (Python):
a = input().split()
for n in range(0, len(a)) :
    a[n] = int(a[n])

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

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

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

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

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

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

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

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

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

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

Solution (Python):
import numpy as np

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


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

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

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

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

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

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

Solution (Python):
string = input()
array = string.split()
s = int(array[0])
w = int(array[1])

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

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

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

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

Solution (Python):
s,w=map(int,input().split())
print(("un"if w>=s else "")+"safe")

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

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

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

Solution (Python):
inputs = input().split(' ')

s = int(inputs[0])
w = int(inputs[1])

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

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

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

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

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

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

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

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

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

Solution (Python):

sheep,wolf=map(int,input().split())

if wolf>=sheep:
    print('unsafe')
else:
    print('safe')

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

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

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

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

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

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

Solution (Python):
input_line = input().split()
S = int(input_line[0])
W = int(input_line[1])

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

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

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

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

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

Solution (Python):
S,W = map(int,input().split())
print(("safe","unsafe")[W >= S])

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

Solution (Python):
import sys

s, w = map(int, sys.stdin.readline().split())

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

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

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

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

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

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

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

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

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

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

Solution (Python):


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

Solution (Python):

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

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

Solution (Python):

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


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

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

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

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

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

Solution (Python):
import sys


try:
    sys.stdin = open(sys.path[0] + '\\input.txt', 'r')
    sys.stdout = open(sys.path[0] + '\\output.txt', 'w')
except FileNotFoundError:
    pass



def solve():
    s, w = list(map(int, input().split()))

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

solve()

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

Solution (Python):
s ,w = input(). split(" ")

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

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

Solution (Python):
data = input().split()
s = int(data[0])
w = int(data[1])

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

Solution (Python):
s, w = input().split(" ")

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

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

Solution (Python):
s, w = input().split(" ")

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

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

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

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

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

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

if w>=s:
    ans='unsafe'
else:
    ans='safe'

print(ans)

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

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

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

Solution (Python):





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


print(main())

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

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

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

ans = 'safe'
if W >= S:
    ans = 'un' + ans

print(ans)

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

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

Solution (Python):

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
inputList = input().split()

s = int(inputList[0])
w = int(inputList[1])

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

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

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

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

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

Solution (Python):


import sys



















def main():
    mod = 1000000007                  
    inf = float('inf')
    sys.setrecursionlimit(10**6)    
    def input(): return sys.stdin.readline().rstrip()
    def ii():  return int(input())
    def mi():  return map(int, input().split())
    def mi_0(): return map(lambda x: int(x)-1, input().split())
    def lmi(): return list(map(int, input().split()))
    def lmi_0(): return list(map(lambda x: int(x)-1, input().split()))
    def li():  return list(input())
    
    
    s, w = mi()
    print('unsafe') if w >= s else print('safe')

if __name__ == "__main__":
    main()

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

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

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

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

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

Solution (Python):


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

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

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

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

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

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

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

Solution (Python):

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

Solution (Python):
input_array = input().split()
s = int(input_array[0])
w = int(input_array[1])

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

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

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

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

W = S[1]

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

Solution (Python):
import sys
sys.setrecursionlimit(10 ** 9)
input = sys.stdin.readline
from itertools import permutations,  combinations, accumulate
from functools import *
from collections import deque, defaultdict, Counter
from heapq import heapify, heappop, heappush, heappushpop

INF = float('inf')
NIL = - 1


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

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

Solution (Python):
S, W = [int(s) for s in input().split()]
if W >= S:
  print("unsafe")
else:
  print("safe")

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

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

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

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

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

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

Solution (Python):
S,W = (int(x) for x in input().split())


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

Solution (Python):
seep, wolf = map(int, input().rstrip().split())
 
if seep > wolf:
  print('safe')
else:
  print('unsafe')

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

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

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

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

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

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

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

Solution (Python):


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


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

Solution (Python):
a,b = [int(x) for x in input().split()]

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

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

Solution (Python):
S, W = [int(n) for n in input().split()]
if W >= S:
    print("unsafe")
else:
    print("safe")

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

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

print("safe\n") if s>w else print("unsafe\n")

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

Solution (Python):
St = input()
Va = St.split()
S = int(Va[0])
W = int(Va[1])
if S>W:
  print("safe")
else:
  print("unsafe")

Solution (Python):

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

Solution (Python):

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

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

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

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

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

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

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

Solution (Python):



def main():
    import sys
    input = sys.stdin.readline

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

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


if __name__ == '__main__':
    main()

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

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

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

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

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

Solution (Python):
sheep, wolf = list(map(int, input().split()))
result = 'unsafe' if sheep <= wolf else 'safe'
print(result)

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

if W>=S:
    print('unsafe',end='\n')
else:
    print('safe',end='\n')

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

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

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

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

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

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

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

Solution (Python):
from sys import stdin,stdout
s,w=stdin.readline().strip().split()
s=int(s)
w=int(w)
if(s<=w):
    print("unsafe")
else:
    print("safe")

Solution (Python):
I=[int(i) for i in input().split()]
if I[1]>=I[0]:
  print("unsafe")
else:
  print('safe')

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

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

Solution (Python):
I=[int(i) for i in input().split()]
if I[1]>=I[0]:
  print("unsafe")
else:
  print("safe")

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

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

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

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

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

Solution (Python):
S,W=(int(x) for x in input().split())

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

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

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

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

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

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

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

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

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

if S <= W:
    print("{}".format("unsafe"))
else:
    print("{}".format("safe"))

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

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

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

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

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

Solution (Python):
from sys import stdin, stdout
import math
import bisect
import re

s, w = map(int, stdin.readline().strip().split())

stdout.writelines('unsafe\n' if w >= s else 'safe\n')

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

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

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

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

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

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

Solution (Python):
temp=list(map(int,input().rstrip().split()))
s=temp[0]
w=temp[1]
if w>=s :
    print("unsafe")
else :
    print("safe")

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

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

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

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

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

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

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

Solution (Python):


def main():
    
    s, w = map(int, input().split())

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


main()

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

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

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

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

Solution (Python):

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

Solution (Python):

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

Solution (Python):

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

Solution (Python):

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

Solution (Python):



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

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

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

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

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

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

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

Solution (Python):


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

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

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

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

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

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

Solution (Python):
s, w = [int(i) for i in input().split()]

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

Solution (Python):
I=[int(i) for i in input().split()]
if I[1]>=I[0]:
     print('unsafe')
else:
     print('safe')

Solution (Python):

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

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

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

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

Solution (Python):
status = input().split()

if int(status[1]) < int(status[0]):
  print('safe')
else:
  print('unsafe')

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

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

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

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

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

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

Solution (Python):
s = list(map(int, input().split()))

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

Solution (Python):
a, b = map(int, input().split())
if a > b:
    print("safe")
elif a <= b:
    print("unsafe")

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

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

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

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

Solution (Python):
lis_str = input().split(" ")
S = int(lis_str[0])
W = int(lis_str[1])

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

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

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

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

Solution (Python):


def read_int():
    return int(input().strip())


def read_ints():
    return list(map(int, input().strip().split(' ')))


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


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