#include <stdio.h>

int main(int argc, char** argv) {
    int sheeps, wolves;

    scanf("%d%d", &sheeps, &wolves);
    
    if (ret < 0) return 1;

    if (sheeps > wolves) {
        printf("safe");
    } else {
        printf("unsafe");
    }

    return 0;
}