#include <stdio.h>
#include <stdlib.h>

int main()
{
	int S, W, ret;
	ret = scanf("%d %d", &S, &W);

	if (S > W)
		printf("safe\n");
	else
		printf("unsafe\n");
	
	fflush(stdout);
	return EXIT_SUCCESS;
}
