import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int s = scanner.nextInt(), w = scanner.nextInt();
			System.out.println((s > w) ? "safe" : "unsafe");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int s = scanner.nextInt(), w = scanner.nextInt();
			System.out.println((s > w) ? "safe" : "unsafe");
		}
	}
} Main public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int s = scanner.nextInt(), w = scanner.nextInt();
			System.out.println((s > w) ? "safe" : "unsafe");
		}
	} main {
		try (Scanner scanner = new Scanner(System.in)) {
			int s = scanner.nextInt(), w = scanner.nextInt();
			System.out.println((s > w) ? "safe" : "unsafe");
		}
	} try (Scanner scanner = new Scanner(System.in)) {
			int s = scanner.nextInt(), w = scanner.nextInt();
			System.out.println((s > w) ? "safe" : "unsafe");
		} {
			int s = scanner.nextInt(), w = scanner.nextInt();
			System.out.println((s > w) ? "safe" : "unsafe");
		} Scanner scanner = new Scanner(System.in) Scanner scanner = new Scanner(System.in) new Scanner(System.in) int s = scanner.nextInt() s scanner.nextInt() scanner.nextInt scanner w = scanner.nextInt(); w scanner.nextInt() scanner.nextInt scanner System.out.println((s > w) ? "safe" : "unsafe") System.out.println System.out System System.out (s > w) ? "safe" : "unsafe" (s > w) s w "safe" "unsafe" String[] args args public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int s = scanner.nextInt(), w = scanner.nextInt();
			System.out.println((s > w) ? "safe" : "unsafe");
		}
	}
} public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int s = scanner.nextInt(), w = scanner.nextInt();
			System.out.println((s > w) ? "safe" : "unsafe");
		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int s = scanner.nextInt(), w = scanner.nextInt();
			System.out.println((s > w) ? "safe" : "unsafe");
		}
	}
}
