from sys import stdin, stdout  
  
def main(): 
	s, w = [int(x) for x in stdin.readline().split()] 
	if w >=s :

		stdout.write('unsafe \n')
	else:
		stdout.write('safe \n')
if __name__ == "__main__": 
	main()