#include <stdio.h>

int main(void)
{
        int ship,wolf;
        scan("%d  %d",&ship,&wolf);

        if(ship>wolf){
                print("safe");
        }else{
                print("unsafe");
        }
       return 0;
}

