#include<stdio.h>

int main(void){
    int S, W;
    scanf("%d%d", &S, &W);
    //scanf("%d", &x);
    //scanf("%d", &y);
    if (S <= W) {
        printf("unsafe\n");
    } else {
        printf("safe\n");
    }
    return 0;
}
