#include <stdio.h>
#include <string.h>

void PrintOutput(char* output)
{
    printf("%s", output);
}

void JudgeSafety(int sheepInput, int wolfInput)
{
    char output[10];
    
    if(wolfInput >= sheepInput)
    {
        strcpy(output, "unsafe");
    }
    else
    {
        strcpy(output, "safe");
    }
    
    printf("%s \n", output);
}
    
void ReadInput()
{
    int sheepInput, wolfInput;
    printf("Enter the number of sheeps and wolves: \n");
    scanf("%d %d",&sheepInput, &wolfInput);
    JudgeSafety(sheepInput, wolfInput);
}

int main(int argc, const char * argv[])
{
    ReadInput();

    return 0;
}
