#include <stdio.h>
#include <float.h>

int main()
{
    long int sheep, wolf;
    scanf("%ld %ld", &sheep, &wolf);

    if(wolf >= sheep)
        printf("unsafe\n");
    else
        printf("safe\n");

    return 0;
}


