import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int S = sc.nextInt();
		int W = sc.nextInt();
		if (S < 1 || S   > 100) {
			throw new IllegalArgumentException("不適切な値です");
		}
		else if(W < 1 || W > 100){
			throw new IllegalArgumentException("不適切な値です。");
		}
		if (S <= W){
			System.out.println("unsafe");
		}
		else{
			System.out.println("safe");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int S = sc.nextInt();
		int W = sc.nextInt();
		if (S < 1 || S   > 100) {
			throw new IllegalArgumentException("不適切な値です");
		}
		else if(W < 1 || W > 100){
			throw new IllegalArgumentException("不適切な値です。");
		}
		if (S <= W){
			System.out.println("unsafe");
		}
		else{
			System.out.println("safe");
		}
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int S = sc.nextInt();
		int W = sc.nextInt();
		if (S < 1 || S   > 100) {
			throw new IllegalArgumentException("不適切な値です");
		}
		else if(W < 1 || W > 100){
			throw new IllegalArgumentException("不適切な値です。");
		}
		if (S <= W){
			System.out.println("unsafe");
		}
		else{
			System.out.println("safe");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int S = sc.nextInt();
		int W = sc.nextInt();
		if (S < 1 || S   > 100) {
			throw new IllegalArgumentException("不適切な値です");
		}
		else if(W < 1 || W > 100){
			throw new IllegalArgumentException("不適切な値です。");
		}
		if (S <= W){
			System.out.println("unsafe");
		}
		else{
			System.out.println("safe");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int S = sc.nextInt(); S sc.nextInt() sc.nextInt sc int W = sc.nextInt(); W sc.nextInt() sc.nextInt sc if (S < 1 || S   > 100) {
			throw new IllegalArgumentException("不適切な値です");
		}
		else if(W < 1 || W > 100){
			throw new IllegalArgumentException("不適切な値です。");
		} S < 1 || S   > 100 S < 1 S 1 S   > 100 S 100 {
			throw new IllegalArgumentException("不適切な値です");
		} throw new IllegalArgumentException("不適切な値です"); new IllegalArgumentException("不適切な値です") if(W < 1 || W > 100){
			throw new IllegalArgumentException("不適切な値です。");
		} W < 1 || W > 100 W < 1 W 1 W > 100 W 100 {
			throw new IllegalArgumentException("不適切な値です。");
		} throw new IllegalArgumentException("不適切な値です。"); new IllegalArgumentException("不適切な値です。") if (S <= W){
			System.out.println("unsafe");
		}
		else{
			System.out.println("safe");
		} S <= W S W {
			System.out.println("unsafe");
		} System.out.println("unsafe") System.out.println System.out System System.out "unsafe" {
			System.out.println("safe");
		} System.out.println("safe") System.out.println System.out System System.out "safe" String[] args args public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int S = sc.nextInt();
		int W = sc.nextInt();
		if (S < 1 || S   > 100) {
			throw new IllegalArgumentException("不適切な値です");
		}
		else if(W < 1 || W > 100){
			throw new IllegalArgumentException("不適切な値です。");
		}
		if (S <= W){
			System.out.println("unsafe");
		}
		else{
			System.out.println("safe");
		}
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int S = sc.nextInt();
		int W = sc.nextInt();
		if (S < 1 || S   > 100) {
			throw new IllegalArgumentException("不適切な値です");
		}
		else if(W < 1 || W > 100){
			throw new IllegalArgumentException("不適切な値です。");
		}
		if (S <= W){
			System.out.println("unsafe");
		}
		else{
			System.out.println("safe");
		}
	}
} Main
import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int S = sc.nextInt();
		int W = sc.nextInt();
		if (S < 1 || S   > 100) {
			throw new IllegalArgumentException("不適切な値です");
		}
		else if(W < 1 || W > 100){
			throw new IllegalArgumentException("不適切な値です。");
		}
		if (S <= W){
			System.out.println("unsafe");
		}
		else{
			System.out.println("safe");
		}
	}
}
