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



Sample input:
4 5


Sample output:
unsafe

Submission status: Accepted

Solution code:
import sys
si = sys.stdin.readline


def main():
    l = [int(e) for e in si().split()]
    if l[0] <= l[1]:
        print('unsafe')
    else:
        print('safe')


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

Solution code:
count = input().rstrip().split(" ")
if int(count[0]) <= int(count[1]):
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import sys


def solve(S: int, W: int):

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

    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    S = int(next(tokens))  # type: int
    W = int(next(tokens))  # type: int
    solve(S, W)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

import sys

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(N=None): return list(MAP()) if N is None else [INT() for i in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = 10 ** 18
MOD = 10 ** 9 + 7

s, w  = MAP()

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

Submission status: Accepted

Solution code:
import math
#数値ひとつ
#I = int(input())
#数値欲しいとき
N, M = map(int, input().split())
#文字欲しいとき
#N = input()
#それをListにしたいとき
#listA = list(N)
#受け取る数が未定かつリストにしたいとき
#list = list(map(int, input().split()))

if N>M:
    print('safe')
else:
    print('unsafe')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
a, b = [int(tmp) for tmp in input().split()]
if b>= a :
  print("unsafe")
else :
  print('safe')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":

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

Submission status: Accepted

Solution code:
tmp = input().split()
tmp = list(map(int, tmp))

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

Submission status: Accepted

Solution code:
inputnum = input().split()
s = int(inputnum[0])
w = int(inputnum[1])

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
s, w = input().split(" ")

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
str = input().split()
s = int(str[0])
w = int(str[1])

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

Submission status: Accepted

Solution code:
N , M = (map(int , input().split()))
if N > M:
    print('safe')
else:
    print('unsafe')

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = (int(x) for x in input().split())
if a > b:
    print('safe')
else:
    print('unsafe')

Submission status: Accepted

Solution code:
i = input().split()
S, W = int(i[0]), int(i[1])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input_line = list(map(int,input().split()))

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

Submission status: Accepted

Solution code:
"""def power(x, y): 
    res = 1
    x=x
    while (y > 0): 
        if ((y & 1) == 1) : 
            res = (res * x) 
        y = y >> 1
        x = (x * x)
    return res""" 
"""def fact(n):
    if(n==0):
        return 1
    if(n==1):
        return 1
    return fact(n-1)+fact(n-2)"""

import math
#import combinations


#t=int(input())
#for _ in range(t):
    #n=int(input())
    #s=input()
    #arr=list(map(int,input().split()))
    #b=list(map(int,input().split()))
    #d={}
    #flag=0
S,W=map(int,input().split())
    #count=0
if(W>=S):
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

Solution code:
Sheep, Wolf = map(int, input().split())

if (Wolf >= Sheep):
    print('unsafe')
else:
    print('safe')

Submission status: Accepted

Solution code:
import sys, os

if __name__ == '__main__':
    l = sys.stdin.readline()
    s, w = [ float(v) for v in l.split() ]

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
arg = list(map(int, input().split())) 

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = input().split(' ')
sheep = int(num[0])
walf = int(num[1])

if(sheep > walf):
  print('safe')
else:
  print('unsafe')

Submission status: Accepted

Solution code:
S, W = input().rstrip().split(' ')

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

Submission status: Accepted

Solution code:
try:
  s,w=[int(x) for x in input().split()]
  if(w>=s):
    print("unsafe")
  else:
    print("safe")
    
except:
  pass

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#! env/bin/local python3
# -*- coding:utf-8 -*-

# -- submit ----

# --- fetch input ---
inputs: list = []
while True:
    try:
        inputs.append(input().strip('\n'))
    except EOFError:
        break

# --- write code below ---

s, w = [int(i) for i in inputs[0].split(' ')]
print('unsafe' if s <= w else 'safe')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S,W = (int(x) for x in input().split())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def safe(s, w):
    if w >= s:
        return "unsafe"
    else:
        return "safe"
        
s, w= map(int,input().split())

print(safe(s,w))

Submission status: Accepted

Solution code:
inputs = str(input())
S = int(inputs.split()[0])
W = int(inputs.split()[1])
if S <= W:
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
St = input().split()
S = int(St[0])
W = int(St[1])

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n,m=list(map(int,input().split()))
if n<=m:
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

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

if a > b:
  print('safe')
  
else:
  print('unsafe')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a = list(map(int,input().split()))
s=a[0]
w=a[1]

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def abc(S, W):
    # 答えの準備
    ans = 'unsafe'
    
    # 比較
    if W < S:
        ans = 'safe'
    
    # 答え
    return(ans)


# バッチスタート
if __name__ == "__main__":
    # 標準入力処理
    # 1行目の入力を空白で分割された2つの数値として扱う
    S, W = map(int, input().split())
    
    # 関数呼び出し
    f = abc(S, W)
    
    # 答えの出力
    print(f)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A, B = map(int, input().split())

if (A > B):
    print('safe')
else:
    print('unsafe')

Submission status: Accepted

Solution code:
sheeps, wolves = input().split(' ') 
if (int(sheeps) > int(wolves)):
    print('safe')
else:
    print('unsafe')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b=(int(x) for x in input().split())
if a > b:
    print("safe")
else:
    print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s1,s2 = map(int, input().split())
if s1 > s2:
    print('safe')
else:
    print('unsafe')

Submission status: Accepted

Solution code:
import sys
def input(): return sys.stdin.readline().rstrip()

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list1 = list(map(int, input().strip().split()))
s = list1[0]
w = list1[1]
if w>=s:
    print('unsafe')
else:
    print('safe')

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys


def solve(S: int, W: int):
    if (S <= W):
        print("unsafe")
    else:
        print("safe")
    return


# Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    S = int(next(tokens))  # type: int
    W = int(next(tokens))  # type: int
    solve(S, W)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a = input().split(" ")
if int(a[0]) <= int(a[1]):
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
n,m=map(int,input().split())

if m>=n:

    print('unsafe')

else:
    print('safe')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def examA():
    S, W = LI()
    if S<=W:
        print("unsafe")
    else:
        print("safe")
    return

def examB():
    A, B, C, D = LI()
    while(True):
        C -= B
        if C<=0:
            print("Yes")
            break
        A -= D
        if A<=0:
            print("No")
            break
    return

def examC():
    ans = 0
    print(ans)
    return

def examD():
    ans = 0
    print(ans)
    return

def examE():
    ans = 0
    print(ans)
    return

def examF():
    ans = 0
    print(ans)
    return

import sys,bisect,itertools,heapq,math,random
from copy import deepcopy
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def I(): return int(readline())
def LI(): return list(map(int,readline().split()))
def LSI(): return list(map(str,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def SI(): return sys.stdin.readline().strip()
global mod,mod2,inf,alphabet,_ep
mod = 10**9 + 7
mod2 = 998244353
inf = 10**18
_ep = 10**(-12)
alphabet = [chr(ord('a') + i) for i in range(26)]

sys.setrecursionlimit(10**7)

if __name__ == '__main__':
    examA()

"""
142
12 9 1445 0 1
asd dfg hj o o
aidn
"""

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A,B=map(int,input().split())
if A<=B:
  print("unsafe")
else:
  print("safe")

Submission status: Accepted

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

Submission status: Accepted

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

solution()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = list(map(int, input().split()))
if A[0] <= A[1]:
  print("unsafe")
else:
  print("safe")

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline


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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
line=list(map(int,input().split(' ')))

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

Submission status: Accepted

Solution code:
SW = list(map(int, input().split()))
S = SW[0]
W = SW[1]
if S>W:
    print('safe')
else:
    print('unsafe')

Submission status: Accepted

Solution code:
a,b =  (int(x) for x in input().split())
print("safe" if a > b else "unsafe")

Submission status: Accepted

Solution code:
def main():
    import sys

    input = sys.stdin.readline
    n, w = map(int, input().split())

    if n > w:
        print("safe")
    else:
        print("unsafe")
if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

else:
    print("safe")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

H, O = map(int, input().split())

if (H <= O):
  print("unsafe")
else:
  print("safe")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main():
    inputs = input().split(' ')
    sheep = int(inputs[0])
    wolf = int(inputs[1])

    if sheep > wolf:
        print('safe')

    else:
        print('unsafe')

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
line = [int(s) for s in input().split()]

if line[0] > line[1]:
    print('safe')
else:
    print('unsafe')

Submission status: Accepted

Solution code:
s,w = (int(x) for x in input().split())
if w >= s:
  print('unsafe')
else:
  print('safe')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

else:
    print("safe")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
import sys
from collections import Counter
from itertools import permutations, combinations
#from fractions import gcd
from math import gcd
from math import ceil, floor
import bisect
sys.setrecursionlimit(10 ** 6)
inf = float("inf")

def input():
    return sys.stdin.readline()[:-1]

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = input()
s = int(x.split()[0])
w = int(x.split()[1])

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

s = a[0]
w = a[1]

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

Submission status: Accepted

Solution code:
def main():
    S, W = input().split()
    S = int(S)
    W = int(W)
    if S <= W:
        print("unsafe")
    else:
        print("safe")

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
S, W = input().split(' ')
# print(S, W)

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf-8
S, W = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N,M=map(int,input().split())
if(N>M):
    print("safe")
elif(N<=M):
    print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:
import numpy as np
if __name__ == "__main__":
    # 入力パターン．
    # 要素の数がわかっているパターン
    ### a,b
    a, b = map(int, input().split())
    if a <= b:
        print("unsafe")
    else:
        print("safe")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
sheep, wolfe = [int(i) for i in input().split()]
if wolfe>=sheep:print('unsafe')
else: print('safe')

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
list = input().split()
s = list[0]
w = list[1]
ins = int(s)
inw = int(w)
if inw >= ins:
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
inp_num=input().split()
sheep=int(inp_num[0])
wolf=int(inp_num[1])

if sheep >wolf:
    print("safe")
else:
    print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:



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

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

Submission status: Accepted

Solution code:
from sys import setrecursionlimit, exit
setrecursionlimit(1000000000)

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

main()

Submission status: Accepted

Solution code:
s,w=(int(x) for x in input().split())
if s>w:
  print("safe")
else:
  print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

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


##########
if __name__ == "__main__":
    a()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
inputs = input().split(' ')

sheeps = int(inputs[0])
wolves = int(inputs[1])

if sheeps <= wolves:
  print('unsafe')
else:
  print('safe')

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# n,m = map(int,sys.stdin.readline().split())
# a = list(map(int,sys.stdin.readline().split()))
# a = [sys.stdin.readline() for _ in range(n)]
# s = sys.stdin.readline().rstrip()
# n = int(sys.stdin.readline())
import sys,bisect
sys.setrecursionlimit(15000)

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
s, w = map(int, input().split())
if s <= w:
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

Solution code:
a, b = input().split()
a = int(a)
b = int(b)

if a > b:
  print('safe')
else:
  print('unsafe')

Submission status: Accepted

Solution code:
# coding:utf-8
S,W=map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
line = input().split(" ")
ookami = int(line[1])
hituji = int(line[0])

if ookami >= hituji:
  print("unsafe")
else:
  print("safe")

Submission status: Accepted

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

resolve()

Submission status: Accepted

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

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