#include <stdio.h>

int main(void)
{
	int s,w,a;
    (void)scanf("%d %d",&s,&w);
    return
     a=s/2;
     
     if(w >= a){
     	printf("unsafe\n");
     }else{printf("safe\n");
     }	
	return(0);
	
}