import sys
sys.setrecursionlimit(10 ** 5 + 10)
def input(): return sys.stdin.readline().strip()

def resolve():

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

resolve()