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):
def sheep_and_wolves():
    condition = input()
    condition_list = condition.split()
    S = int(condition_list[0])
    W = int(condition_list[1])
    
    if S > W:
        print('safe')
        return
    elif S <= W:
        print('unsafe')
        return

sheep_and_wolves()

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 w>=s 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 w >= s 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):
import sys
def main():
    S,W=tuple(map(int,sys.stdin.readline().split()))
    print('unsafe') if S<=W else print('safe')
if __name__=='__main__':main()

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

x=int(a[0])
y=int(a[1])

if x>y:
  print("safe")
else:
  print("unsafe")

Solution (Python):
import sys
from collections import deque
sys.setrecursionlimit(10**6)
def S(): return sys.stdin.readline().rstrip()
def SL(): return map(str,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def IL(): return map(int,sys.stdin.readline().rstrip().split())
def LS(): return list(sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))

def Main():
    s,w = IL()
    if s<=w:
        print('unsafe')
    else:
        print('safe')
    return

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())
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):
s, w = map(int, input().split())

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

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

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

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):
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  

s,w = na()

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

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

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 w>=s:
    print("unsafe")
else:
    print("safe")

Solution (Python):


"""
    Author : thekushalghosh
    Team   : CodeDiggers
 
    I prefer Python language over the C++ language :p :D
        
    Visit my website : thekushalghosh.github.io
"""
import sys,math,cmath,time
start_time = time.time()



def solve():
    s,w = invr()
    print("unsafe" if w >= s else "safe")
            


 
def main():
    global tt
    if not ONLINE_JUDGE:
        sys.stdin = open("input.txt","r")
        sys.stdout = open("output.txt","w")
    t = 1
    for tt in range(t):
        solve()
    if not ONLINE_JUDGE:
        print("Time Elapsed :",time.time() - start_time,"seconds")
        sys.stdout.close()
    

def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    return(input().strip())
def invr():
    return(map(int,input().split()))
 

def counter(a):
    q = [0] * max(a)
    for i in range(len(a)):
        q[a[i] - 1] = q[a[i] - 1] + 1
    return(q)
 
def string_counter(a):
    q = [0] * 26
    for i in range(len(a)):
        q[ord(a[i]) - 97] = q[ord(a[i]) - 97] + 1
    return(q)

def power_two(n):
    if n == 1:
        return(True)
    sttr = str(n)
    len_str = len(sttr)
    sttr = list(sttr)
    num = 0
    if (len_str == 1 and sttr[len_str - 1] == '1'): 
        return(False)
    while (len_str != 1 or sttr[len_str - 1] != '1'):
        if ((ord(sttr[len_str - 1]) - ord('0')) % 2 == 1):
            return(False)
        j = 0; 
        for i in range(len_str):  
            num = num * 10 + (ord(sttr[i]) - ord('0')); 
            if (num < 2): 
                if (i != 0):  
                    sttr[j] = '0'
                    j += 1
                continue
  
            sttr[j] = chr((num // 2) + ord('0'))
            j += 1; 
            num = (num) - (num // 2) * 2
        len_str = j
    return(True)

def getLeftmostBit(n): 
    m = 0
    while (n > 1) : 
        n = n >> 1
        m += 1
    return(m)
def getNextLeftmostBit(n, m) : 
    temp = 1 << m 
    while (n < temp) : 
        temp = temp >> 1
        m -= 1
    return m
def bitcounter(n) :
    m = getLeftmostBit(n) 
    return _countSetBits(n, m) 
def _countSetBits(n, m) :
    if (n == 0) : 
        return 0
    m = getNextLeftmostBit(n, m)
    if (n == (1 << (m + 1)) - 1) : 
        return ((m + 1) * (1 << m))
    n = n - (1 << m)
    return (n + 1) + bitcounter(n) + m * (1 << (m - 1)) 

def log_two(n): 
    return(math.log(n) / math.log(2))


        
ONLINE_JUDGE = __debug__
if ONLINE_JUDGE:
    input = sys.stdin.readline
    
main()

Solution (Python):
import math
def fact(n):
    ans = 1
    for i in range(2, n+1):
        ans*= i
    return ans
def comb(n, c):
    return fact(n)//(fact(n-c)*c)

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())
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):

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

if __name__ == "__main__":
    main()

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

Solution (Python):
import math
import sys
readline = sys.stdin.readline


def main():
    s, w = map(int, readline().rstrip().split())
    print("unsafe" if s <= w else "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())
print(["safe", "unsafe"][S <= W])

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())
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('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):
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 = list(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('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):
a,b = map(int,input().split())
if a > 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 = map(int,input().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):
import sys
def input():
    return sys.stdin.readline()[:-1]
def main():

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

    print("safe" if S > W else "unsafe")
if __name__ == '__main__':
    main()

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())
ans = ['unsafe', 'safe']
print(ans[S>W])

Solution (Python):
s,w=[int(x) for x in 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())
 
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("safe")
else:
  print("unsafe")

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

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=list(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')
    

if __name__=="__main__":
    main()

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())
if w>=s:
    print("unsafe")
else:
    print("safe")

Solution (Python):
S,W=map(int,input().split())
if W>=S:
  print('unsafe')
  exit()
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):
def solve():
    S, W = map(int, input().split())
    if S <= W:
        print('unsafe')
    else:
        print('safe')

if __name__ == '__main__':
    solve()

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())
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 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 = list(map(int,input().split()))
if b>=a:
    print("unsafe")
else:
    print("safe")

Solution (Python):
S,W = list(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())
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().rstrip().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):
a,b = map(int, input().split())
print("unsafe") if a<=b 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('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):
S, W = map(int, input().split())
print( "safe" if S > W else "unsafe")

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

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

Solution (Python):
S, W = list(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 = map(int, input().split())
ans = "safe"
if s <= w:
  ans = "un" + ans
print(ans)

Solution (Python):
n_sheep ,n_wolves = input().split()
n_sheep , n_wolves = int(n_sheep),int(n_wolves)

if n_sheep > n_wolves:
  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 w >= s else "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 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("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 = input().split()
A = int(S[0])
B = int(S[1])
a = 'unsafe'
if A > B:
  a = 'safe'
print(a)

Solution (Python):
s, w = map(int, input().split())
print("unsafe" if s <= w 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())

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("unsafe")
else:
  print("safe")

Solution (Python):
import sys
input = sys.stdin.readline

"""

"""

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

Solution (Python):
from sys import stdin, stdout
n, m = map(int, stdin.readline().strip().split())

if m>=n:
    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()))

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

Solution (Python):
import sys


def main():
    input = sys.stdin.buffer.readline
    s, w = map(int, input().split())
    print('unsafe' if s <= w else 'safe')


if __name__ == '__main__':
    main()

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):
a = list(map(int, input().split()))
print('un' * (a[0] <= a[1]) + '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('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())
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):
def main():
    s, w = map(int, input().split())
    if w >= s:
        print('unsafe')
    else:
        print('safe')
if __name__ == '__main__':
    main()

Solution (Python):
n_sheep, n_wolves = map(int, input().split())

if n_sheep <= n_wolves:
	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):
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=input().split()
s=int(s)
w=int(w)
if s>w:
    print("safe")
else:
    print("unsafe")

Solution (Python):
s,w=input().split()
s=int(s)
w=int(w)
if s>w:
    print("safe")
if w>s:
   print("unsafe")
if w==s:
   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("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('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("unsafe" 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())
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):
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 main():
  s,w = list(map(int,input().split()))
  if s>w:
    print("safe")
  else:
    print("unsafe")

main()

Solution (Python):
def issafe(S,W):
    if S > W:
        return "safe"
    return "unsafe"

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

Solution (Python):
def issafe(S,W):
    if S > W:
        return "safe"
    return "unsafe"

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

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

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

main()

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 s > w:
  print("safe")
else:
  print("unsafe")

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):
input = list(map(int, input().split()))
if input[0] > input[1]:
    print("safe")
else:
    print("unsafe")

Solution (Python):
def main():

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

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

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())
print("unsafe" if S<=W else "safe")

Solution (Python):
S, W = map(int, input().split())
print("{}".format("unsafe" 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())

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=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 = 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 s>w:
  print("safe")
else:
  print("unsafe")

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('unsafe')
  
else:
  print('safe')

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):
s,w = 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):
s, w = map(int, input().split())
print("unsafe" if s <= w else "safe")

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

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=map(int, input().split())
k=0
if w>=s:
    k='unsafe'
if w<s:
    k='safe'
print(k)

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):
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("unsafe")
else:
    print("safe")

Solution (Python):
ans = "safe"

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

if s <= w:
    ans = "un" + ans

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:
    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:
    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 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 resolve():
    s, w = list(map(int, input().split()))

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

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 = map(int, input().split())
print("un" * (s <= w) + "safe")

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

Solution (Python):
import sys
import math
import numpy as np
import copy

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

if __name__ == '__main__':
    sys.exit(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())
if W >= S:
  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 = (int(x) for x in 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 = (int(x) for x 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())
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(x) for x in 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):
num_of_sheep, num_of_wolf = map(int, input().split())

if num_of_sheep > num_of_wolf:
    print('safe')
else:
        print('unsafe')

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

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())
print("safe" if s > w else "unsafe")

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('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(i) for i in 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('safe')
else:
  print('unsafe')

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

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

Solution (Python):
x = input().split()
s = int(x[0])
w = int(x[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 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):
x, y = map(int, input().split())
if y >= x:
    print("unsafe")
else:
    print("safe")

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

    
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):
import sys
input = sys.stdin.readline

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


if __name__ == "__main__":
    main()

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