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 W >= S:
  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):
def resolve():
    import sys
    input = sys.stdin.readline
    x = list(map(int, input().split()))
    if x[0] <= x[1]:
        print("unsafe")
    else:
        print("safe")



if __name__ == "__main__":
    resolve()

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

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


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

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

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

def intinp():
    return int(input())

S, W = mapint_inp()

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

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

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

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

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

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

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

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

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

else :
    print('safe')

Solution (Python):
import sys

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


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

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


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 (S <= W):
    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 = [int(c) for c in 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):
a, b = map(int, input().split())

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

Solution (Python):
SW = list(map(int, input().split()))
S = SW[0]
W = SW[1]
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):
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 = [int(el) for el 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):
I = input().split()
S = int(I[0])
W = int(I[1])
if W >= S :
    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 = (int(x) for x in input().split(" "))

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

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

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


result = ""
if S <= W:
    result = "unsafe"
else:
    result = "safe"


print(result)

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):
import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
s,w = [int(i) for i in readline().split()]

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

Solution (Python):
from sys import stdin
input = 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 W >= S:
  print("unsafe")
else:
  print("safe")

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

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

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

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

S = SW[0]
W = SW[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('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):
from sys import stdin

S,W = [int(x) for x in stdin.readline().rstrip().split()]
if S > W:
    print('safe')
else:
    print('unsafe')

Solution (Python):
S=()
W=()

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

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

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

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


if __name__ == '__main__':
    n, m = map(int, input().split())
    solve(n, m)

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

Solution (Python):
from sys import stdin


def main():
    input = lambda: stdin.readline()[:-1]
    S, W = map(int, input().split())
    if S > W:
        print('safe')
    else:
        print('unsafe')


main()

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

Solution (Python):

MOD = 10 ** 9 + 7

def main():
    for _ in inputt(1):
        s, w = inputi()
        print("unsafe" if s <= w else "safe")








from math import *
from heapq import *
from itertools import *
from functools import reduce, lru_cache, partial
from collections import Counter, defaultdict
import re, copy, operator, cmath
import sys, io, os, builtins
sys.setrecursionlimit(1000)





BUFSIZE = 8192
class FastIO(io.IOBase):
    newlines = 0
    def __init__(self, file):
        self._fd = file.fileno()
        self.buffer = io.BytesIO()
        self.writable = "x" in file.mode or "r" not in file.mode
        self.write = self.buffer.write if self.writable else None
    def read(self):
        while True:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            if not b:
                break
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines = 0
        return self.buffer.read()
    def readline(self):
        while self.newlines == 0:
            b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
            self.newlines = b.count(b"\n") + (not b)
            ptr = self.buffer.tell()
            self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
        self.newlines -= 1
        return self.buffer.readline()
    def flush(self):
        if self.writable:
            os.write(self._fd, self.buffer.getvalue())
            self.buffer.truncate(0), self.buffer.seek(0)
class IOWrapper(io.IOBase):
    def __init__(self, file):
        self.buffer = FastIO(file)
        self.flush = self.buffer.flush
        self.writable = self.buffer.writable
        self.write = lambda s: self.buffer.write(s.encode("ascii"))
        self.read = lambda: self.buffer.read().decode("ascii")
        self.readline = lambda: self.buffer.readline().decode("ascii")
def print(*args, **kwargs):
    if args:
        sys.stdout.write(args[0])
        split = kwargs.pop("split", " ")
        for arg in args[1:]:
            sys.stdout.write(split)
            sys.stdout.write(arg)
    sys.stdout.write(kwargs.pop("end", "\n"))
def debug(*args, **kwargs):
    print("debug", *args, **kwargs)
    sys.stdout.flush()
sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)
input = lambda: sys.stdin.readline().rstrip()
inputt = lambda t = 0: range(t) if t else range(int(input()))
inputs = lambda: input().split()
inputi = lambda: map(int, inputs())
inputl = lambda t = 0, k = inputi: map(list, (k() for _ in range(t))) if t else list(k())





def len(a):
    if isinstance(a, range):
        return -((a.start - a.stop) // a.step)
    return builtins.len(a)
def bisect_left(a, x, key = None, lo = 0, hi = None):
    if lo < 0: lo = 0
    if hi == None: hi = len(a)
    if key == None: key = do_nothing
    while lo < hi:
        mid = (lo + hi) // 2
        if key(a[mid]) < x: lo = mid + 1
        else: hi = mid
    return lo
def bisect_right(a, x, key = None, lo = 0, hi = None):
    if lo < 0: lo = 0
    if hi == None: hi = len(a)
    if key == None: key = do_nothing
    while lo < hi:
        mid = (lo + hi) // 2
        if x < key(a[mid]): hi = mid
        else: lo = mid + 1
    return lo
def insort_left(a, x, key = None, lo = 0, hi = None):
    lo = bisect_left(a, x, key, lo, hi)
    a.insert(lo, x)
def insort_right(a, x, key = None, lo = 0, hi = None):
    lo = bisect_right(a, x, key, lo, hi)
    a.insert(lo, x)
do_nothing = lambda x: x
bisect = bisect_right
insort = insort_right
def index(a, x, default = None, key = None, lo = 0, hi = None):
    if lo < 0: lo = 0
    if hi == None: hi = len(a)
    if key == None: key = do_nothing
    i = bisect_left(a, x, key, lo, hi)
    if lo <= i < hi and key(a[i]) == x: return a[i]
    if default != None: return default
    raise ValueError
def find_lt(a, x, default = None, key = None, lo = 0, hi = None):
    if lo < 0: lo = 0
    if hi == None: hi = len(a)
    i = bisect_left(a, x, key, lo, hi)
    if lo < i <= hi: return a[i - 1]
    if default != None: return default
    raise ValueError
def find_le(a, x, default = None, key = None, lo = 0, hi = None):
    if lo < 0: lo = 0
    if hi == None: hi = len(a)
    i = bisect_right(a, x, key, lo, hi)
    if lo < i <= hi: return a[i - 1]
    if default != None: return default
    raise ValueError
def find_gt(a, x, default = None, key = None, lo = 0, hi = None):
    if lo < 0: lo = 0
    if hi == None: hi = len(a)
    i = bisect_right(a, x, key, lo, hi)
    if lo <= i < hi: return a[i]
    if default != None: return default
    raise ValueError
def find_ge(a, x, default = None, key = None, lo = 0, hi = None):
    if lo < 0: lo = 0
    if hi == None: hi = len(a)
    i = bisect_left(a, x, key, lo, hi)
    if lo <= i < hi: return a[i]
    if default != None: return default
    raise ValueError






class Tree:
    def __init__(n):
        self._n = n
        self._conn = [[] for _ in range(n)]
        self._list = [0] * n
    def connect(a, b):
        pass






class Sieve:
    def __init__(self):
        self._n = 6
        self._list = [2, 3, 5, 7, 11, 13]
    def extend(self, n):
        pass


sieve = Sieve()
def isprime(n):
    pass
def prime(n):
    pass
def factorint(n):
    factordict = defaultdict(int)
    for i in sieve:
        if n <= i * i:
            break
        while not n % i:
            factordict[i] += 1
            n //= i
    if n != 1:
        factordict[n] += 1
    return factordict





if __name__ == "__main__":
    main()

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

Solution (Python):
import numpy as np

SW=np.array(input().split(" "),dtype=np.int32)
S=SW[0]
W=SW[1]

if(W>=S):
    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())
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):
input_str = input()

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

Solution (Python):
def inp(): return int(input()) 
def inpm(): return map(int,input().split()) 
def inpl(): return list(map(int, input().split())) 
def inpls(): return list(input().split()) 

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

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

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

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

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

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

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

Solution (Python):
q = input().split()
q = [int(i) for i in q]

s = q[0]
w = q[1]

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

ans = 'unsafe'

if s > w:
  ans = 'safe'

print(ans)

Solution (Python):
from sys import stdin

[S, W] = map(int, stdin.readline().rstrip().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()))

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):
print('safe' if eval(input().replace(' ','>')) 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 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):
def Int():
    return int(input())
def Ints():
    return map(int,input().split())
def IntList():
    return list(Ints())
def IntMat(N):
    return [IntList() for i in range(N)]

S,W = Ints()

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):
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 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):
l = [int(x) for x in input().split()]
S, W = l[0], l[1]

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

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

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


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

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

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

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

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")
def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def SI(): return sys.stdin.readline()[:-1]

def main():
    s,w=MI()
    if w>=s:print("unsafe")
    else:print("safe")

main()

Solution (Python):

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

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

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

Solution (Python):
s, w = list(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())

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

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

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

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

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

"""
Created on Sun Apr 26 20:55:06 2020

@author: Kei
"""

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

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

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

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

Solution (Python):
x,y = map(int,input().split())
if x<= y:
    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 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("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(' ')
if int(s) > int(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):
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 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 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= 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())

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):
nums = input()
nums = nums.split()
sheep = int (nums[0])
wolf = int(nums[1])

if sheep > wolf:
  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=(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):
m, n = map(int,input().split())
if m > n:
  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):
a,b = map(int, input().split())

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

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

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

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

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

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

Solution (Python):
def sheepwolve(s, w):
  if(w>=s):
    return "unsafe"
  else:
    return "safe"


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

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 = [int(i) for i in input().split()]

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

Solution (Python):


s, w = [0] * 2

def format_input(filename = None):
	global s, w
	if filename == None:
		s, w = list(map(int, input().split()))

	elif filename == '__random__':
		from random import randint as rng
		s = rng(1, 10**2)
		w = rng(1, 10**2)
		print(s, w)

def get_answer():
	answer = 'unsafe'
	if s > w:
		answer = 'safe'
	return answer

if __name__ == '__main__':
	format_input()

	ans = get_answer()
	print(ans)

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())
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):
import sys
stdin = sys.stdin
sys.setrecursionlimit(10 ** 7)

def LI(): return list(map(int, stdin.readline().split()))
def LS(): return list(stdin.readline())

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

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