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: Wrong Answer

Solution code:
N=[int(x) for x in input().split()]
if N[0]>2*N[1]:
    print("safe")
else:
   print("unsafe")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input().split(" ")

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

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

Submission status: Wrong Answer

Solution code:
import random

S = random.randint(1,100)
W = random.randint(1,100)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=[int(x) for x in input().split()]
if N[0]>=2*N[1]:
    print("safe")
else:
   print("unsafe")

Submission status: Wrong Answer

Solution code:
a = input().split(" ")

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# coding: utf-8
def debug(arg):
    if __debug__:
        pass
    else:
        import sys
        print(arg, file=sys.stderr)
def main():
    S, W = map(float, input().split())
    print('unsafe' if W >= (S / 2) else 'safe')
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# coding: utf-8
def debug(arg):
    if __debug__:
        pass
    else:
        import sys
        print(arg, file=sys.stderr)
def main():
    S, W = map(float, input().split())
    print('unsafe' if W > (S / 2) else 'safe')
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
sheep, wolf = map(int, input().split())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=[int(x) for x in input().split()]
if N[0]/2>=N[1]:
    print("safe")
else:
   print("unsafe")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=[int(x) for x in input().split()]
if N[0]/2>N[1]:
    print("safe")
else:
   print("unsafe")

Submission status: Wrong Answer

Solution code:
def compare():
  S=int(input())
  W=int(input())
  if S<=W:
    print("unsafe")
  else:
    print("safe")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S, W = list(map(int, input().split()))
if W >= S :
    print("Unsafe")
else:
    print("Safe")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
def wolfsheep(S,W):
  if W>=(S/2):
    print('safe')
  else:
    print('unsafe')

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np

S = np.random.randint(1,101)
W = np.random.randint(1,101)

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
S,W = [i for i in input().split(" ")]
if (W>=S) :
    print("safe")
else:
    print("unsafe")

Submission status: Wrong Answer

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

if float(S)<float(W)*2:
  print("unsafe")
else:
  print("safe")

Submission status: Wrong Answer

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

print("safe" if S > W else"unsefe")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

import sys
import math


debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        # for line in sys.stdin:
        #     lines.append(line)
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    (s, w) = [int(e) for e in lines[0].split(' ')]

    return (s, w)


def solve(s, w):

    result = 'safe'
    if 2 * w >= s:
        result = 'unsafe'
    
    return  result
    


def main():
    # 出力
    result = solve(*parse_input())
    if isinstance(result, list):
        for r in result:
            print("%s" % r, sep='')
    else:
        print("%s" % result, sep='')

if __name__ == '__main__':

    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# coding: utf-8
def debug(arg):
    if __debug__:
        pass
    else:
        import sys
        print(arg, file=sys.stderr)
def main():
    S, W = map(int, input().split())
    print('unsafe' if W >= S / 2 else 'safe')
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
values = input()
values=values.split()
if values[1]>=values[0]:
    print('unsafe')
else:
    print('safe')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# coding: utf-8
def debug(arg):
    if __debug__:
        pass
    else:
        import sys
        print(arg, file=sys.stderr)
def main():
    S, W = map(int, input().split())
    print('unsafe' if W > S / 2 else 'safe')
if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S,W = [i for i in input().split(" ")]
if (W>S) :
    print("unsafe")
else:
    print("safe")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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


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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

def main():
    a = list(map(int, input().split()))
    sheep = a[0]
    wolf = a[1]
    if sheep <= wolf * 2:
        print("unsafe")
    else:
        print("safe")


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
arr = input().split(' ')
S = arr[0]
W = arr[1]

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

if s < w:
    print("unsafe")

else :
    print("safe")

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
def print_ans(S, W):
    """Test Case
    >>> print_ans(4, 5)
    'unsafe'
    >>> print_ans(100, 2)
    'safe'
    >>> print_ans(10, 10)
    'unsafe'
    """
    if S > W :
         return 'safe'
    else:
        return 'unsafe'
if __name__ == '__main__':
    S, W = map(int, input().rstrip().split())
    print_ans(S, W)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
def print_ans(S, W):
    """Test Case
    >>> print_ans(4, 5)
    unsafe
    >>> print_ans(100, 2)
    safe
    """
    if S > W :
         return 'safe'
    else:
        return 'unsafe'
if __name__ == '__main__':
    S, W = map(int, input().rstrip().split())
    print_ans(S, W)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

else :
    print("unsafe")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
[S,W]=[int(i) for i in input().split()]
print(["unsafe","safe"][int(bool(S-W))])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num = map(int, input().split())
list1=[]
for i in num:
    list1.append(i)
if list1[0]<list1[1]:
    print("unsafe")
else:
    print("safe")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
{
  "kernelspecs": {
    "python3": {
      "resource_dir": "C:\\Users\\Xergalese\\anaconda3\\share\\jupyter\\kernels\\python3",
      "spec": {
        "argv": [
          "C:/Users/Xergalese/anaconda3\\python.exe",
          "-m",
          "ipykernel_launcher",
          "-f",
          "{connection_file}"
        ],
        "env": {},
        "display_name": "Python 3",
        "language": "python",
        "interrupt_mode": "signal",
        "metadata": {}
      }
    }
  }
}

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import numpy as np
from collections import defaultdict
from math import gcd
import time
import sys
from collections import Counter
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
start = time.time()
N, M = map(int, input().split(' '))
if N < M:
    print('safe')
else:
    print('unsafe')

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys, os

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

solution()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
lists = list(map(int, input().split())) #１行の入力をi[0],i[1]というように空白で分けてを取得し、iに値を入れる
if lists[0]  <=  lists[1]:
    print("unsate")
else:
    print('safe')

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
from collections import deque

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys,math,copy,queue,itertools,bisect,collections
sys.setrecursionlimit(10**7)
LI = lambda : [int(x) for x in sys.stdin.readline().split()]
_LI = lambda : [int(x)-1 for x in sys.stdin.readline().split()]
NI = lambda : int(sys.stdin.readline())
INF = 10**18
MOD = 10**9 + 7
DD = ((1,0),(0,1),(-1,0),(0,-1))

S,W = LI()
if S > W * 2:
    print ('safe')
else:
    print ('unsafe')

Submission status: Wrong Answer

Solution code:
def inp(): return int(input()) #一個だけ読み取り
def inpm(): return map(int,input().split()) #mapオブジェクトで呼び出し
def inpl(): return list(map(int, input().split())) #数字リストをintで
def inpls(): return list(input().split()) #数字リストをstrで

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

Submission status: Wrong Answer

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