#include <stdio.h>
int main(void){
    int S,W;
    
    scanf("%d",&S);
    scanf("%d",&W);
    
    if(S<=W){
        printf("unsafe\n");
    }else{
        printf("safe\n");
    }
    
    return 0;
}