#include <stdio.h>

int main(void){

    int S = 0;
    int W = 0;
    scanf("%d %d", &S, &W);

    if (S <= W){
        printf("unsafe\n");
    } else {
        printf("safe\n");
    }
    
    return 0;
}