
import java.util.Scanner;

public class Main{
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String num = scan.nextLine();
		String[] numbers = num.split(" ");
		double S = Integer.parseInt(numbers[0]);
		double W = Integer.parseInt(numbers[1]);

		if(S>W) {
			System.out.println("safe");
		}else {
			System.out.println("unsafe");
		}

	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String num = scan.nextLine();
		String[] numbers = num.split(" ");
		double S = Integer.parseInt(numbers[0]);
		double W = Integer.parseInt(numbers[1]);

		if(S>W) {
			System.out.println("safe");
		}else {
			System.out.println("unsafe");
		}

	}
} Main public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String num = scan.nextLine();
		String[] numbers = num.split(" ");
		double S = Integer.parseInt(numbers[0]);
		double W = Integer.parseInt(numbers[1]);

		if(S>W) {
			System.out.println("safe");
		}else {
			System.out.println("unsafe");
		}

	} main {

		Scanner scan = new Scanner(System.in);
		String num = scan.nextLine();
		String[] numbers = num.split(" ");
		double S = Integer.parseInt(numbers[0]);
		double W = Integer.parseInt(numbers[1]);

		if(S>W) {
			System.out.println("safe");
		}else {
			System.out.println("unsafe");
		}

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) String num = scan.nextLine(); num scan.nextLine() scan.nextLine scan String[] numbers = num.split(" "); numbers num.split(" ") num.split num " " double S = Integer.parseInt(numbers[0]); S Integer.parseInt(numbers[0]) Integer.parseInt Integer numbers[0] numbers 0 double W = Integer.parseInt(numbers[1]); W Integer.parseInt(numbers[1]) Integer.parseInt Integer numbers[1] numbers 1 if(S>W) {
			System.out.println("safe");
		}else {
			System.out.println("unsafe");
		} S>W S W {
			System.out.println("safe");
		} System.out.println("safe") System.out.println System.out System System.out "safe" {
			System.out.println("unsafe");
		} System.out.println("unsafe") System.out.println System.out System System.out "unsafe" String[] args args public class Main{
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String num = scan.nextLine();
		String[] numbers = num.split(" ");
		double S = Integer.parseInt(numbers[0]);
		double W = Integer.parseInt(numbers[1]);

		if(S>W) {
			System.out.println("safe");
		}else {
			System.out.println("unsafe");
		}

	}
} public class Main{
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String num = scan.nextLine();
		String[] numbers = num.split(" ");
		double S = Integer.parseInt(numbers[0]);
		double W = Integer.parseInt(numbers[1]);

		if(S>W) {
			System.out.println("safe");
		}else {
			System.out.println("unsafe");
		}

	}
} Main

import java.util.Scanner;

public class Main{
	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		String num = scan.nextLine();
		String[] numbers = num.split(" ");
		double S = Integer.parseInt(numbers[0]);
		double W = Integer.parseInt(numbers[1]);

		if(S>W) {
			System.out.println("safe");
		}else {
			System.out.println("unsafe");
		}

	}
}
