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

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

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

Solution (Python):

class abc_164:
    
    def __init__(self):
        pass
    
    def A(self):
        sw=list(map(int,input().split()))
        print("unsafe") if sw[1]>=sw[0] else print("safe")
        pass
    
    def B(self):
        pass
        
    def C(self):
        pass
    
    def D(self):
        pass
    
    def E(self):
        pass
    
    def F(self):
        pass
    
    
if __name__=='__main__':
    obj=abc_164()
    obj.A()

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(lambda x:int(x), input().split(" ")))

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

Solution (Python):
str = input("")
li = str.split()
if(eval(li[0])<=eval(li[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 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())
print("unsafe" if S <= W else "safe")

Solution (Python):
def solve():
    N, M = map(int, input().split())

    return 'safe' if N > M else 'unsafe'

print(solve())

Solution (Python):

s,w = (int(x) for x in 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())
print('unsafe' if w>=s else 'safe')

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

Solution (Python):
import sys
from math import factorial
from collections import Counter
from fractions import Fraction
import heapq, bisect, fractions
import math
import itertools
sys.setrecursionlimit(10 ** 5 + 10)
INF = 10**15 +5
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
MOD = 10**9 + 7


a, b = MAP()
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().strip().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 = list(map(int,input().split()))

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

Solution (Python):
a,b = map(int,input().split())
 
ans = "safe"
 
if a <= b:
    ans = "unsafe"
 
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):
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 1 <= W <= 100 and 1 <= S <= 100 and W >= S :
  print ("unsafe")
if 1 <= W <= 100 and 1 <= S <= 100 and W < S :
  print("safe")

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

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

Solution (Python):
sheep, wolves = map(int, input().split())
if wolves >= sheep:
    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 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):
x = input()
lists = x.rstrip().split(' ')
if int(lists[0]) <= int(lists[1]):
    print('unsafe')
else:
    print('safe')

Solution (Python):
import sys

lines = sys.stdin.readlines()

x = lines[0].split(' ')
S =int(x[0])
W =int(x[1])

if S > W:
    ans = 'safe'
else:
    ans = 'unsafe'

print(ans)

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

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

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

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

Solution (Python):


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

ans="safe"
if W >= S:
    ans="unsafe"

print(ans)

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

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

Solution (Python):
s, w = [int(w) for w in 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):
sheep,wolf = map(int,input().split())
if wolf >= sheep :
    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: ans = "unsafe"
else: ans = "safe"

print(ans)

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

Solution (Python):
def inputlist():
    return [int(i) for i in input().split()]


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


if __name__ == '__main__':
    main()

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

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

Solution (Python):

import sys
     
s,w =(int(n) for n in input().split())
     
if (s <= w):
        print("unsafe")
        sys.exit()
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 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("unsafe")
else:
    print("safe")

Solution (Python):
s, w = map(int, raw_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("safe")
else:
  print("unsafe")

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

if s[0] <= s[1]:
  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(' ')]
ans = 'unsafe'
if S > W:
    ans = 'safe'
print(ans)

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

else:
    print('safe')

Solution (Python):

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

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

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

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

Solution (Python):

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

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

Solution (Python):
s,w = [int(i) for i in 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):
import numpy as np
import math
import scipy as sp
import queue
import collections

MOD = 10 ** 9 + 7
INF = 10 ** 9

def main(kwargs):
    s = kwargs["s"]
    w = kwargs["w"]

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

    return res

if __name__ == "__main__":
    kwargs = {}

    cin = input().split()
    
    
    
    kwargs["s"], kwargs["w"] = [int(i) for i in cin]

    cout = main(kwargs)
    print(cout)

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

Solution (Python):
A = input().split()
if int(A[0]) - int(A[1]) > 0 :
    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())			
ans = "safe"
if w >= s: ans="unsafe"
print(ans)

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

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

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


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


int1 = lambda x: 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 LLI(rows_number): return [LI() for _ in range(rows_number)]


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

Solution (Python):
import math, sys
from bisect import bisect_left, bisect_right
from collections import Counter, defaultdict, deque
from copy import deepcopy
from functools import lru_cache
from heapq import heapify, heappop, heappush
from itertools import accumulate, combinations, permutations
input = sys.stdin.readline
mod = 10**9 + 7
ns = lambda: input().strip()
ni = lambda: int(input().strip())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))

def main():
    s, w = nm()

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


if __name__ == '__main__':
    main()

Solution (Python):
s = [input() for i in range(1)] 
li = list(map(int, s[0].split()))
if li[0] > li[1]:
    print("safe")
else:
    print("unsafe")

Solution (Python):
import numpy as np
from collections import defaultdict
from math import gcd
import time
import sys
from collections import Counter
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
start = time.time()
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):
lst = input().split(" ")
s = eval(lst[0])
w = eval(lst[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())
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):
from math import *
from copy import *
from string import *				
from random import *
from sys import stdin
from sys import maxsize
from operator import *				
from itertools import *
from collections import Counter		
import math

def bin1(l,r,k,t,b,val,ans):
	if(l>r):
		return ans
	else:
		mid=(l+r)//2
		v=k**mid
		if(v==val):
			return v
		elif(v>val):
			ans=mid
			return bin1(mid+1,r,k,t,b,val,ans)
		else:
			return bin1(l,mid-1,k,t,b,val,ans)
		
def bin2(l,r,k,t,b,val,ans):
	if(l>r):
		return ans
	else:
		mid=(l+r)//2
		v=t*(k**mid)+b*(mid)
		if(v==val):
			return v
		elif(v>val):
			ans=mid
			return bin2(l,mid-1,k,t,b,val,ans)
		else:
			return bin2(mid+1,r,k,t,b,val,ans)

def SieveOfEratosthenes(n): 
      
    
    
    
    prime = [True for i in range(n+1)] 
    p = 2
    while (p * p <= n): 
          
        
        if (prime[p] == True): 
              
            
            for i in range(p * p, n+1, p): 
                prime[i] = False
        p += 1
    l=[]
    for i in range(2,n+1):
    	if(prime[i]):
    		l.append(i)
    return l
def bin(l,r,ll,val):
	if(l>r):
		return -1
	else:
		mid=(l+r)//2
		if(val>=ll[mid][0] and val<=ll[mid][1]):
			return mid
		elif(val<ll[mid][0]):
			return bin(l,mid-1,ll,val)
		else:
			return bin(mid+1,r,ll,val)
def deci(n):
	s=""
	while(n!=0):
		if(n%2==0):
			n=n//2
			s="0"+s
		else:
			n=n//2
			s="1"+s
	return s
def diff(s1,s2):
	if(len(s1)<len(s2)):
		v=len(s1)
		while(v!=len(s2)):
			s1="0"+s1
			v=v+1
	else:
		v=len(s2)
		while(v!=len(s1)):
			s2="0"+s2
			v=v+1
	c=0
	for i in range(len(s1)):
		if(s1[i:i+1]!=s2[i:i+1]):
			c=c+1
	return c
from sys import stdin, stdout 
def fac(a,b):
	v=a
	while(a!=b):
		v*=a-1
		a=a-1
	return v
def bino(l,r,n):
	if(l>r):
		return -1
	else:
		mid=(l+r)//2
		val1=math.log((n/mid)+1,2)
		val2=int(val1)
		if(val1==val2):
			return val1
		elif(val1<1.0):
			return bino(l,mid-1,n)
		else:
			return bino(mid+1,r,n)

def binary(l,r,ll,val,ans):
	if(l>r):
		return ans
	else:
		mid=(l+r)//2
		if(val%ll[mid]==0):
			ans=ll[mid]
			return binary(l,mid-1,ll,val,ans)
		else:
			return binary(l,mid-1,ll,val,ans)
def odd(n,ans,s):
	if(n%2!=0 or n in s):
		return ans
	else:
		s.add(n)
		return odd(n//2,ans+1,s)

if __name__ == '__main__':
	s,w=map(int,input().split(" "))
	if(w>s-1):
		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 = input().split()

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

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

else :
    print("safe")

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

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

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

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

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

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

Solution (Python):
S, W = [int(s) for s in input().split()]
print('unsafe') if S <= W 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 w >= s:
    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):
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 W>=S:
    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):
s,w = map(int,input().split())
 
if s>w:
    print("safe")
else:
    print("unsafe")

Solution (Python):
from math import factorial as fact
import math
import fractions
import sys
import itertools
import numpy as np
from collections import Counter
import datetime

def input1():
	return int(input())


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


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

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


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

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

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


def ch(x1):
	cf=[]
	for i in range(2,math.sqrt(x1)+1):
		if x1 % i==0:
			cf.append(i)
	return cf

def CountOneRoots(x,y):
	
	return fact(x+y)/fact(x)/fact(y)


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

	return count
			


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

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):
N = input()

t1 = N.split()
if int(t1[0]) <= int(t1[1]):
    
    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):
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):
a = input().split()
s = int(a[0])
w = int(a[1])
if s <= w:
  print('unsafe')
else:
  print('safe')

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

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

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

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

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

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

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


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

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

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

Solution (Python):
from sys import stdin

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

main()

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):
n=input().split()

if  int(n[0])>int(n[1]):
    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(float, input().split())

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

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

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

Solution (Python):


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

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

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

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

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

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


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):
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 = input().split(' ')
s = int(s)
w = int(w)
 
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):
def read():
    S, W = map(int, input().split())
    return S, W

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

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

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


if __name__ == "__main__":
    main()

Solution (Python):
x, y = [int(x) for x in input().split()] 
if y >= x: 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):
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):
if __name__ == "__main__":
    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')
main()

Solution (Python):
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

if __name__ == '__main__':
    main()

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

Solution (Python):


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

if A[0] > A[1]:
  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 = map(int, input().split())

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

Solution (Python):

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


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

Solution (Python):



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


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


if __name__ == "__main__":
    main()

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

Solution (Python):
S ,W = input().split()
if int(S) > int(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 = 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 = (int(x) for x 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):
sheep, wolves = map(int, input().split())
if sheep <= wolves :
  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):
N, M = map(int, input().split())
if N > M:
 print("safe")
else:
 print("unsafe")

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

if int(sw[0]) > int(sw[1]):
    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 w >= s:
	print("unsafe")
else:
	print("safe")