import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int current = sc.nextInt();
    int mini = current,maxi = current,distance = 0;
    do{
      int res = Math.max(Math.abs(current - mini), Math.abs(current - maxi));
      if(res > distance){distance = res;}
      current = sc.nextInt();
    }while(sc.hasNext());
    if(distance > current){System.out.println(":(");}
    else{System.out.println("Yay!");}
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int current = sc.nextInt();
    int mini = current,maxi = current,distance = 0;
    do{
      int res = Math.max(Math.abs(current - mini), Math.abs(current - maxi));
      if(res > distance){distance = res;}
      current = sc.nextInt();
    }while(sc.hasNext());
    if(distance > current){System.out.println(":(");}
    else{System.out.println("Yay!");}
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int current = sc.nextInt();
    int mini = current,maxi = current,distance = 0;
    do{
      int res = Math.max(Math.abs(current - mini), Math.abs(current - maxi));
      if(res > distance){distance = res;}
      current = sc.nextInt();
    }while(sc.hasNext());
    if(distance > current){System.out.println(":(");}
    else{System.out.println("Yay!");}
  } main {
    Scanner sc = new Scanner(System.in);
    int current = sc.nextInt();
    int mini = current,maxi = current,distance = 0;
    do{
      int res = Math.max(Math.abs(current - mini), Math.abs(current - maxi));
      if(res > distance){distance = res;}
      current = sc.nextInt();
    }while(sc.hasNext());
    if(distance > current){System.out.println(":(");}
    else{System.out.println("Yay!");}
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int current = sc.nextInt(); current sc.nextInt() sc.nextInt sc int mini = current mini current maxi = current maxi current distance = 0; distance 0 do{
      int res = Math.max(Math.abs(current - mini), Math.abs(current - maxi));
      if(res > distance){distance = res;}
      current = sc.nextInt();
    }while(sc.hasNext()); sc.hasNext() sc.hasNext sc {
      int res = Math.max(Math.abs(current - mini), Math.abs(current - maxi));
      if(res > distance){distance = res;}
      current = sc.nextInt();
    } int res = Math.max(Math.abs(current - mini), Math.abs(current - maxi)); res Math.max(Math.abs(current - mini), Math.abs(current - maxi)) Math.max Math Math.abs(current - mini) Math.abs Math current - mini current mini Math.abs(current - maxi) Math.abs Math current - maxi current maxi if(res > distance){distance = res;} res > distance res distance {distance = res;} distance = res distance res current = sc.nextInt() current sc.nextInt() sc.nextInt sc if(distance > current){System.out.println(":(");}
    else{System.out.println("Yay!");} distance > current distance current {System.out.println(":(");} System.out.println(":(") System.out.println System.out System System.out ":(" {System.out.println("Yay!");} System.out.println("Yay!") System.out.println System.out System System.out "Yay!" String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int current = sc.nextInt();
    int mini = current,maxi = current,distance = 0;
    do{
      int res = Math.max(Math.abs(current - mini), Math.abs(current - maxi));
      if(res > distance){distance = res;}
      current = sc.nextInt();
    }while(sc.hasNext());
    if(distance > current){System.out.println(":(");}
    else{System.out.println("Yay!");}
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int current = sc.nextInt();
    int mini = current,maxi = current,distance = 0;
    do{
      int res = Math.max(Math.abs(current - mini), Math.abs(current - maxi));
      if(res > distance){distance = res;}
      current = sc.nextInt();
    }while(sc.hasNext());
    if(distance > current){System.out.println(":(");}
    else{System.out.println("Yay!");}
  }
} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int current = sc.nextInt();
    int mini = current,maxi = current,distance = 0;
    do{
      int res = Math.max(Math.abs(current - mini), Math.abs(current - maxi));
      if(res > distance){distance = res;}
      current = sc.nextInt();
    }while(sc.hasNext());
    if(distance > current){System.out.println(":(");}
    else{System.out.println("Yay!");}
  }
}