#include<iostream>

using namespace std;
int main()
{
    int x,y;
    cin>>x>>y;
    if(x<y || x==y){
        cout<<"unsafe"<<endl;
    }
    if(x>y){
        cout<<"safe"<<endl;
    }


    return 0;
}

