#include<stdio.h>
int main()
{
     long long s,w;
    while(scanf("%lld %lld",&s,&w)!=EOF)
    {
        if(w>=s)
        {
            printf("unsafe\n");
            }
        else
        {
            printf("safe\n");
            }
        }
    return 0;
    }