

def read_int():
    return int(input().strip())


def read_ints():
    return list(map(int, input().strip().split(' ')))


def solve():
    S, W = read_ints()
    return 'unsafe' if W >= S else 'safe'


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