#include<stdio.h>

int main() {
    int Sheep = 0;
    int Wolves = 0;
    scanf("%d%d", &Sheep, &Wolves);
    if (Sheep <= Wolves) {
        printf("unsafe\n");
    }
    else {
        printf("safe\n");
    }
    return 0;
}