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

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

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

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

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())
print(["safe","unsafe"][a<=b])

Solution (Python):
import numpy as np


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

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

if __name__ == '__main__':
  main()

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

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

Solution (Python):

import sys

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
def main():
    S, W = map(int, input().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 = [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("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 run():
    s, w = map(int, input().split())

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


if __name__ == '__main__':
    run()

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

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=(int(x) for x in input().split())
if S>W:
    print('safe')
else:
    print('unsafe')

Solution (Python):
import sys
stdin = sys.stdin
     
pi=3.1415
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))

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

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

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

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

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

Solution (Python):
n,nn = map(int,input().split())

if n > nn:
    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('safe' if s > w else 'unsafe')

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

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

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

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

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

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

ans = 'safe'

if s <= w:
    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())

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

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

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

else:
    print("unsafe")

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

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

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

if __name__ == "__main__":
    main()

Solution (Python):

import sys
sysread = sys.stdin.readline
def run():
    S, W = list(map(int, sysread().split()))
    if S <= W:
        print('unsafe')
    else:
        print('safe')
if __name__ == "__main__":
    run()

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

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

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

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

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

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

Solution (Python):
def main():
    args = input().rstrip().split(' ')
    S, W = int(args[0]), int(args[1])
    
    if(S <= W):
        print('unsafe')
    else:
        print('safe')
    
    
if __name__ == "__main__":
    main()

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

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

    if s > w:
        print('safe')
        exit()

    print('unsafe')


if __name__ == '__main__':
    main()

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

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

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

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

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

if N<=M:
    print ("unsafe")
else:
    print ("safe")

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

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

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

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

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

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

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

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

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

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

if S>W:
  print("safe")

else:
  print("unsafe")

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

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

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

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

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

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

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

Solution (Python):

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

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

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

Solution (Python):

from collections import defaultdict, deque
from heapq import heappush, heappop
from itertools import permutations
import sys
import math
import bisect


def LI(): return [int(x) for x in sys.stdin.readline().split()]


def I(): return int(sys.stdin.readline())


def LS(): return [list(x) for x in sys.stdin.readline().split()]


def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res


def IR(n):
    return [I() for i in range(n)]


def LIR(n):
    return [LI() for i in range(n)]


def SR(n):
    return [S() for i in range(n)]


def LSR(n):
    return [LS() for i in range(n)]


sys.setrecursionlimit(1000000)
mod = 1000000007


def solve():
    s, w = LI()
    if w >= s:
        print('unsafe')
    else:
        print('safe')
    return



if __name__ == "__main__":
    solve()

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
import sys
sys.setrecursionlimit(700000)

def s_in():
    return input()

def n_in():
    return int(input())

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

def print_l(l):
    print(' '.join(map(str, l)))

class Interval():
    def __init__(self, li):
        self.li = li
        self.n = len(li)
        self.sum_li = [li[0]]
        for i in range(1, self.n):
            self.sum_li.append(self.sum_li[i-1] + li[i])

    def sum(self, a, b=None):
        if b is None:
            return self.sum(0, a)

        res = self.sum_li[min(self.n-1, b-1)]
        if a > 0:
            res -= self.sum_li[a-1]
        return res

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

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

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

Solution (Python):
if __name__ == '__main__':
    s, w = tuple([int(x) for x in input().split()])

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

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

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

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

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

Solution (Python):

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

Solution (Python):

s, w = (int(x) for x in input().split())


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

print(ans)

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

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

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

res = s - w

if res <= 0:
    print('unsafe')
else:
    print('safe')

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

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

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

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

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

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

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

q1()

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

"""
@author: H_Hoshigi
"""
def main():
    S, W = map(int, input().split())
    answer = ""
    if S <= W:
        answer = "unsafe"
    else:
        answer = "safe"
    print(answer)

if __name__ == "__main__":
    main()

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

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

Solution (Python):
def main():
    S,W = [int(x) for x in input().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):
def main():
    b = list(map(int, input().split()))
    if b[0] <= b[1]:
        print('unsafe')
    else:
        print('safe')
if __name__ == '__main__':
    main()

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

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

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

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

Solution (Python):


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

Solution (Python):

from collections import deque
from operator import itemgetter
from bisect import bisect_left, bisect
import itertools
import sys
import math
sys.setrecursionlimit(10**6)
input = sys.stdin.readline


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


if __name__ == '__main__':
    main()

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

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

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

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

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

else :
    print('safe')

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

if 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):
b,c=[int(x) for x in input().split()]
if c>=b:
    print("unsafe")
else:
    print("safe")

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

Solution (Python):
S, W = (int(x) for x in input().split())
if 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):
import math
import queue

def readInt():
	return int(input())

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

def readChars():
	return input().split()

x = readInts()

s = x[0]
w = x[1]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
s, w = list(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().rstrip().split())
if S <= W:
    print('unsafe')
else:
    print('safe')

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

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

S, W = map(int, sys.stdin.readline().strip().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):
line = input().rstrip().split(' ')

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

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

lines = 1
inp = list()

for _ in range(lines):
    inp.append(sys.stdin.readline().strip())


sw = inp[0].split()
s = int(sw[0])
w = int(sw[1])

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

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


def log(*args):
    print(*args, file=sys.stderr)


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

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

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

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

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

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

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

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

if S - W > 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())
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):
from collections import defaultdict
from collections import deque
from string import ascii_uppercase
import sys, bisect, math, heapq

stdin = sys.stdin
read_int = lambda : list(map(int,stdin.readline().split()))
read_str = lambda : stdin.readline().rstrip()

S, W = read_int()

def solve():
    ans = 'unsafe'
    if S > W:
        ans = 'safe'
    return ans

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

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

Solution (Python):
S,W = map(int,input().split())
if 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):
def readInt():
    return list(map(int, input().split()))
    
s, w = readInt()
judge = s-w
if judge<=0:
    print('unsafe')
else:
    print('safe')

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

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

Solution (Python):
N, L = map(int, input().split())

if(N <= L):
    print('unsafe')
else:
    print('safe')

Solution (Python):

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

Solution (Python):


from sys import stdin

S, W = list(map(int, stdin.readline().rstrip().split()))

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