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

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

    if S <= W:
        ans = 'unsafe'

    else:
        ans = 'safe'

    print(ans)


if __name__ == "__main__":
    main()

Solution (Python):














































global FLAG_LOG
FLAG_LOG = False


def log(value):
    
    
    if FLAG_LOG:
        print(str(value))


def calculation(lines):
    
    
    S, W = list(map(int, lines[0].split()))
    
    
    
    
    
    
    
    

    result = 'safe'
    if S <= W:
        result = 'unsafe'

    return [result]



def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines



def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['4 5']
        lines_export = ['unsafe']
    if pattern == 2:
        lines_input = ['100 2']
        lines_export = ['safe']
    if pattern == 3:
        lines_input = ['10 10']
        lines_export = ['unsafe']
    return lines_input, lines_export



def get_mode():
    import sys
    args = sys.argv
    global FLAG_LOG
    if len(args) == 1:
        mode = 0
        FLAG_LOG = False
    else:
        mode = int(args[1])
        FLAG_LOG = True
    return mode



def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    
    
    
    
    
    
    
    
    
    
    



if __name__ == '__main__':
    main()

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




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

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

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

if not ( 1 <= S <= 100 and 1 <= W <= 100 ): sys.exit()

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

if w >= s:exit(print('unsafe'))
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("un"*(w>=s)+"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):
a,b = list(map(int,input().split()))
print('safe' if a>b else '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):
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())
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=map(int,input().split())

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

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

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

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

Solution (Python):
S, W = map(int, input().split())
print(('un' 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):
import sys
sys.setrecursionlimit(10**7)
input = sys.stdin.readline

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):
def main():
    S, W = 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('safe')
else : print('unsafe')

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

Solution (Python):






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

main()

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

Solution (Python):
import sys
input = lambda : sys.stdin.readline().rstrip()
sys.setrecursionlimit(max(1000, 10**9))
write = lambda x: sys.stdout.write(x+"\n")


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

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

ans = 'unsafe' if S <= W else '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 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 = list(map(int, input().split()))
if S > W:
  print('safe')
else:
  print('unsafe')

Solution (Python):
a,b=map(int,input().split());print(['safe','unsafe'][a<=b])

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

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

Solution (Python):
s,w = list(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 = (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 = input().split()
if int(W) >= int(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):
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):
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())
print("suanfsea f e"[S<=W::2])

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

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

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

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

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

Solution (Python):
import sys
def main():
  s,w = list(map(int,(input().split())))
  if s<=w:
    print('unsafe')
    sys.exit()
  else:
    print('safe')
    sys.exit()

if __name__ == '__main__':
  main()

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):
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 = list(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 = (int(i) for i 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())
ans = "unsafe"

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

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

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

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

if(NUM[0] > NUM[1]):
  print("safe")
elif(NUM[0] <= NUM[1]):
  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):
a = input().split()

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

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

from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


def sum_of_arithmetic_progression(s, d, n):
    return n * (2 * s + (n - 1) * d) // 2


def gcd(a, b):
    if b == 0:
        return a
    return gcd(b, a % b)


def lcm(a, b):
    g = gcd(a, b)
    return a / g * b


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


def main():
    solve()


if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
S,W=list(map(int,input().split()))
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 =map(int,input().split())

if S<=W :
  print('unsafe')
if S>W :
  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(' '))
result = 'unsafe' if w >= s else 'safe'
print(result)

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

if S<=W:
    print("unsafe")
elif S>W:
    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("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('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())

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

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

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

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

if S > W:
    print('safe')
    exit()

print('unsafe')

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

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

Solution (Python):
from collections import defaultdict as dd
from collections import deque
import bisect
import heapq

def ri():
    return int(input())

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


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






mode = 's'

if mode == 'T':
    t = ri()
    for i in range(t):
        solve()
else:
    solve()

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

Solution (Python):

"""
Created on Wed Jul  1 00:10:02 2020

@author: mapit
"""

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

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

Solution (Python):
import sys
sys.setrecursionlimit(10 ** 9)

def int1(x): return int(x) - 1
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')







def solve():
    S, W = MI()

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


if __name__ == '__main__':
    solve()

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 s <= w else 'safe')

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

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

Solution (Python):
S , W = (int(a) for a in 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 S <= W:
    print('unsafe')
else:
    print('safe')

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

if b > c:
    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())

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

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

print('unsafe') if w >= s 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())

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


import copy
import random
import bisect 
import fractions 
import math
import sys
import collections
from decimal import Decimal 

mod = 10**9+7
sys.setrecursionlimit(mod) 

d = collections.deque()
def LI(): return list(map(int, sys.stdin.readline().split()))

S, W = LI()
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 = list(map(int, input().split()))

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

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


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):
import sys 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
N,W = map(int,readline().split())
if W >= N:
    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("safe") if s > w 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')

elif s<=w:
    print('unsafe')

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('unsafe' if b>=a 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("safe")
elif S<W:
  print("unsafe")
elif S==W:
  print("unsafe")

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

Solution (Python):
def main():

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

def input_int():
    return int(input())


def input_ints():
    return map(int, input().split())


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


def input_int_tuple_list(n: int, q: int):
    return [tuple(map(int, input().split())) for _ in range(n)]


main()

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

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

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

Solution (Python):
import copy

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

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

Solution (Python):


n, m = map(int, input().split())
if n <= m:
    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")
    exit(0)
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")
elif w < s:
  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 S<=W:
  print("unsafe")
else:
  print("safe")

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

resolve()

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

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

Solution (Python):
A, B = map(int, input().split())
print("safe" if A > B else "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')