#include <stdio.h>

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

    sscanf(argv[1], "%d", &sheeps);
    sscanf(argv[2], "%d", &wolves);

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

    return 0;
}