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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import bisect
import heapq
import itertools
import math
import numpy as np
from collections import Counter, defaultdict, deque
from copy import deepcopy
from decimal import Decimal
from math import gcd
from operator import add, itemgetter, mul, xor
def cmb(n,r,mod):
  bunshi=1
  bunbo=1
  for i in range(r):
    bunbo = bunbo*(i+1)%mod
    bunshi = bunshi*(n-i)%mod
  return (bunshi*pow(bunbo,mod-2,mod))%mod
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**8)
mod = 10**9+7
def I(): return int(input())
def LI(): return list(map(int,input().split()))
def MI(): return map(int,input().split())
def LLI(n): return [list(map(int, input().split())) for _ in range(n)]
s,w = map(int,input().split())
if w >= s:
  print("unsafe")
else:
  print("safe")

Submission status: Accepted

Solution code:
import os

import sys

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(10 ** 9)
INF = float("inf")
IINF = 10 ** 18
MOD = 10 ** 9 + 7
# MOD = 998244353

S, W = list(map(int, sys.stdin.buffer.readline().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:
n = list(map(int,input().split()))

if n[0] > n[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(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 = tuple(int(c) for c 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("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] = list(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('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=input().split()
x=int(s)
y=int(w)
if x<=y:
  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 = 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:
a = list(map(int,input().split()))
ans = "unsafe" if a[1]>=a[0] else "safe"
print(ans)

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

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-


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

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

Submission status: Accepted

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

Submission status: Accepted

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

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 __future__ import division, print_function
import sys
if sys.version_info[0] < 3:
    from __builtin__ import xrange as range
    from future_builtins import ascii, filter, hex, map, oct, zip

import os, sys, bisect, copy
from collections import defaultdict, Counter, deque
#from functools import lru_cache   #use @lru_cache(None)
if os.path.exists('in.txt'): sys.stdin=open('in.txt','r')
if os.path.exists('out.txt'): sys.stdout=open('out.txt', 'w')
#
def input(): return sys.stdin.readline()
def mapi(arg=0): return map(int if arg==0 else str,input().split())
#------------------------------------------------------------------

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

Submission status: Accepted

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


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


# 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
    print(solve(S, W))

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf') ;mod = 10**9+7
mans = inf ;ans = 0 ;count = 0 ;pro = 1

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:
#!/usr/bin/env python3

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

if B >= A:
    print("unsafe")
else:
    print("safe")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from math import gcd

from math import factorial as f

from math import ceil,floor,sqrt


import bisect
import re
import heapq


from copy import deepcopy
import itertools

from sys import exit

ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

yes = "unsafe"
no = "safe"

def main():
    s,w = mi()
    if w>=s:
        print(yes)
    else:
        print(no)




main()

Submission status: Accepted

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]
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:
#!/usr/bin/env python3

import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
sys.setrecursionlimit(2147483647)
from heapq import heappush, heappop,heappushpop
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collections import deque
from operator import itemgetter
from itertools import permutations
mod = 10**9 + 7
inf = float('inf')
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))

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

Submission status: Accepted

Solution code:
#MLE注意！0や1のケースに注意

def main():
    import sys
    input = sys.stdin.readline
    sys.setrecursionlimit(10**7)
    from collections import Counter, deque
    #from collections import defaultdict
    from itertools import combinations, permutations, accumulate, groupby, product
    from bisect import bisect_left,bisect_right
    from heapq import heapify, heappop, heappush
    import math
    #from math import gcd

    #inf = 10**17
    #mod = 10**9 + 7

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#MLE注意！0や1のケースに注意

def main():
    import sys
    input = sys.stdin.readline
    sys.setrecursionlimit(10**7)
    from collections import Counter, deque
    #from collections import defaultdict
    from itertools import combinations, permutations, accumulate, groupby, product
    from bisect import bisect_left,bisect_right
    from heapq import heapify, heappop, heappush
    import math
    from math import gcd

    #inf = 10**17
    #mod = 10**9 + 7

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

if __name__ == '__main__':
    main()

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:
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 (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 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:
# Problem A - Sheep and Wolves

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import math


def main():
    input = sys.stdin.readline
    a, b = (int(i) for i in input().split())
    if a <= b:
        print("unsafe")
    else:
        print("safe")


main()

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:
from sys import stdin
#n = int(stdin.readline().rstrip())
#l = list(map(int, stdin.readline().rstrip().split()))
s,w = map(int, stdin.readline().rstrip().split())
#S = [list(map(int, stdin.readline().rstrip().split())) for _ in range(h)]#hの定義を忘れずに

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

Submission status: Accepted

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

if __name__ == "__main__":
    main()

Submission status: Accepted

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

if S>=1 and S<=100 and W>=1 and W<=100:
  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 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:
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())
ans = "unsafe" if s <= w else "safe"
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
line =input().split(" ")
sheep=int(line[0])
walf=int(line[1])
 
if sheep<=walf:
  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:
def solve():
    from sys import stdin
    lines = stdin
    
    S, W = map(int, lines.readline().split())
    
    if W >= S:
        print("unsafe")
    else:
        print("safe")

solve()

Submission status: Accepted

Solution code:
s,w = input().rstrip().split(' ')
#print(s,w)

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

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:
import sys
readline = sys.stdin.buffer.readline
s,w= list(map(int,readline().rstrip().split()))
if s <= w:
  print('unsafe')
else:
  print('safe')

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
from pip._vendor.distlib.compat import raw_input

s, w = map(int, raw_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(' '))

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

print(ans)

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

Submission status: Accepted

Solution code:
# coding:utf-8

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

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

else:
    print("safe")

Submission status: Accepted

Solution code:
def NextIntList(): return list(map(int,input().split()))


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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

if sheep<=walf:
  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())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
buf = input().split()
s = int(buf[0])
w = int(buf[1])
if s <= w:
  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:
S, W = list(map(int, input().split()))

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

Submission status: Accepted

Solution code:
s, w = map(int, input().split()) # split()で空白区切りでリスト化、その際map()でint型にキャストし変数に代入。
if s > w:
	print("safe")
else:
	print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#-*- coding: utf-8 -*-
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:
from sys import stdin

s,w = [int(x) for x in stdin.readline().rstrip().split()]
print("safe" if s > w else "unsafe")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
sheep, wolf = list(map(int, input().split()))
if sheep > wolf:
  print('safe')
else:
  print('unsafe')

Submission status: Accepted

Solution code:
unchi,buri=map(int, input().split())
 
if unchi>buri:
	print("safe")
if unchi<buri:
	print("unsafe")
if unchi==buri:
	print("unsafe")

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:

l = input().split()
s = int(l[0])
w = int(l[1])

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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 = input().split()
for n in range(0, len(a)) :
    a[n] = int(a[n])

if a[0] <= 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 = 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,v = map(int, input().split())
if v >= 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 = 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 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:
import numpy as np

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

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:
string = input()
array = string.split()
s = int(array[0])
w = int(array[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:
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())
print(("un"if w>=s else "")+"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())
def f():
  if W >= S:
    return "unsafe"
  else:
    return "safe"
print(f())

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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:

sheep,wolf=map(int,input().split())

if wolf>=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("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:
input_line = input().split()
S = int(input_line[0])
W = int(input_line[1])
# print(S, W)
if S > W:
    print("safe", end='')
else:
    print("unsafe", end='')

Submission status: Accepted

Solution code:
s,w=[int(x) for x in input().split()]
print('safe' if s>w else '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:
import sys

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n, a = (int(x) for x in input().split())
if n <= a:
    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=input().split();
s = int(s)
w = int(w)
if(s<=w):
    print("unsafe")
else:
    print("safe")