#include <stdio.h>
#include <stdlib.h>

int main (void) {
    int s, w;

    scanf("%d%d", &s, &w);

    if ( s > w )
        printf("safe\n");
    else
        printf("unsafe\n");

    return EXIT_SUCCESS;
}
