#include <stdio.h>
#include <iostream>
const int maxn = 100010;
using namespace std;
int a[maxn];
int main()
{
        int n,m;
        scanf("%d%d",&n,&m);
        if(m >= n)
            printf("unsafe\n");
        else
            printf("safe\n");

}
