#include <bits/stdc++.h>
using namespace std; 

int n;
int testCases;

int main() {
    int wolves, sheep;

    scanf("%d %d", &sheep, &wolves);

    if (wolves >= sheep) {
        printf("unsafe\n");
    } else {
        printf("safe\n");
    }

    return 0;
}