import java.util.*;
public class Main{
  public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    int a,b,c,d,e,k,temp;
    a=sc.nextInt();
    b=sc.nextInt();
    c=sc.nextInt();
    d=sc.nextInt();
    e=sc.nextInt();
    k=sc.nextInt();
      if(a-b>0){
        temp=a;
        a=b;
        b=temp;
      }
      if(a-c>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-d>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-e>0){
        temp=a;
        a=b;
        b=temp;
      }

      if(e-b<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-c<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-d<0){
        temp=e;
        e=b;
        b=temp;
      }
    if(e-a<=k){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    int a,b,c,d,e,k,temp;
    a=sc.nextInt();
    b=sc.nextInt();
    c=sc.nextInt();
    d=sc.nextInt();
    e=sc.nextInt();
    k=sc.nextInt();
      if(a-b>0){
        temp=a;
        a=b;
        b=temp;
      }
      if(a-c>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-d>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-e>0){
        temp=a;
        a=b;
        b=temp;
      }

      if(e-b<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-c<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-d<0){
        temp=e;
        e=b;
        b=temp;
      }
    if(e-a<=k){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
} Main public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    int a,b,c,d,e,k,temp;
    a=sc.nextInt();
    b=sc.nextInt();
    c=sc.nextInt();
    d=sc.nextInt();
    e=sc.nextInt();
    k=sc.nextInt();
      if(a-b>0){
        temp=a;
        a=b;
        b=temp;
      }
      if(a-c>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-d>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-e>0){
        temp=a;
        a=b;
        b=temp;
      }

      if(e-b<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-c<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-d<0){
        temp=e;
        e=b;
        b=temp;
      }
    if(e-a<=k){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  } main {
    Scanner sc=new Scanner(System.in);
    int a,b,c,d,e,k,temp;
    a=sc.nextInt();
    b=sc.nextInt();
    c=sc.nextInt();
    d=sc.nextInt();
    e=sc.nextInt();
    k=sc.nextInt();
      if(a-b>0){
        temp=a;
        a=b;
        b=temp;
      }
      if(a-c>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-d>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-e>0){
        temp=a;
        a=b;
        b=temp;
      }

      if(e-b<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-c<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-d<0){
        temp=e;
        e=b;
        b=temp;
      }
    if(e-a<=k){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a a b b c c d d e e k k temp; temp a=sc.nextInt() a sc.nextInt() sc.nextInt sc b=sc.nextInt() b sc.nextInt() sc.nextInt sc c=sc.nextInt() c sc.nextInt() sc.nextInt sc d=sc.nextInt() d sc.nextInt() sc.nextInt sc e=sc.nextInt() e sc.nextInt() sc.nextInt sc k=sc.nextInt() k sc.nextInt() sc.nextInt sc if(a-b>0){
        temp=a;
        a=b;
        b=temp;
      } a-b>0 a-b a b 0 {
        temp=a;
        a=b;
        b=temp;
      } temp=a temp a a=b a b b=temp b temp if(a-c>0){
        temp=a;
        a=b;
        b=temp;
      } a-c>0 a-c a c 0 {
        temp=a;
        a=b;
        b=temp;
      } temp=a temp a a=b a b b=temp b temp if(a-d>0){
        temp=a;
        a=b;
        b=temp;
      } a-d>0 a-d a d 0 {
        temp=a;
        a=b;
        b=temp;
      } temp=a temp a a=b a b b=temp b temp if(a-e>0){
        temp=a;
        a=b;
        b=temp;
      } a-e>0 a-e a e 0 {
        temp=a;
        a=b;
        b=temp;
      } temp=a temp a a=b a b b=temp b temp if(e-b<0){
        temp=e;
        e=b;
        b=temp;
      } e-b<0 e-b e b 0 {
        temp=e;
        e=b;
        b=temp;
      } temp=e temp e e=b e b b=temp b temp if(e-c<0){
        temp=e;
        e=b;
        b=temp;
      } e-c<0 e-c e c 0 {
        temp=e;
        e=b;
        b=temp;
      } temp=e temp e e=b e b b=temp b temp if(e-d<0){
        temp=e;
        e=b;
        b=temp;
      } e-d<0 e-d e d 0 {
        temp=e;
        e=b;
        b=temp;
      } temp=e temp e e=b e b b=temp b temp if(e-a<=k){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    } e-a<=k e-a e a k {
      System.out.println("Yay!");
    } System.out.println("Yay!") System.out.println System.out System System.out "Yay!" {
      System.out.println(":(");
    } System.out.println(":(") System.out.println System.out System System.out ":(" String[] args args public class Main{
  public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    int a,b,c,d,e,k,temp;
    a=sc.nextInt();
    b=sc.nextInt();
    c=sc.nextInt();
    d=sc.nextInt();
    e=sc.nextInt();
    k=sc.nextInt();
      if(a-b>0){
        temp=a;
        a=b;
        b=temp;
      }
      if(a-c>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-d>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-e>0){
        temp=a;
        a=b;
        b=temp;
      }

      if(e-b<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-c<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-d<0){
        temp=e;
        e=b;
        b=temp;
      }
    if(e-a<=k){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
} public class Main{
  public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    int a,b,c,d,e,k,temp;
    a=sc.nextInt();
    b=sc.nextInt();
    c=sc.nextInt();
    d=sc.nextInt();
    e=sc.nextInt();
    k=sc.nextInt();
      if(a-b>0){
        temp=a;
        a=b;
        b=temp;
      }
      if(a-c>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-d>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-e>0){
        temp=a;
        a=b;
        b=temp;
      }

      if(e-b<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-c<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-d<0){
        temp=e;
        e=b;
        b=temp;
      }
    if(e-a<=k){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
} Main
import java.util.*;
public class Main{
  public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    int a,b,c,d,e,k,temp;
    a=sc.nextInt();
    b=sc.nextInt();
    c=sc.nextInt();
    d=sc.nextInt();
    e=sc.nextInt();
    k=sc.nextInt();
      if(a-b>0){
        temp=a;
        a=b;
        b=temp;
      }
      if(a-c>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-d>0){
        temp=a;
        a=b;
        b=temp;
      }if(a-e>0){
        temp=a;
        a=b;
        b=temp;
      }

      if(e-b<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-c<0){
        temp=e;
        e=b;
        b=temp;
      }if(e-d<0){
        temp=e;
        e=b;
        b=temp;
      }
    if(e-a<=k){
      System.out.println("Yay!");
    }else{
      System.out.println(":(");
    }
  }
}
