import java.util.*;

public class Main{
  public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    int abcde[]=new int[5];
    for (int i=0;i<5;i++) {
      abcde[i]=sc.nextInt();
    }
    int k=sc.nextInt();
    int count=0;

    for (int i=0;i<4;i++) {
      for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      }
    }

    if (count>0) {
      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 abcde[]=new int[5];
    for (int i=0;i<5;i++) {
      abcde[i]=sc.nextInt();
    }
    int k=sc.nextInt();
    int count=0;

    for (int i=0;i<4;i++) {
      for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      }
    }

    if (count>0) {
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
} Main public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    int abcde[]=new int[5];
    for (int i=0;i<5;i++) {
      abcde[i]=sc.nextInt();
    }
    int k=sc.nextInt();
    int count=0;

    for (int i=0;i<4;i++) {
      for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      }
    }

    if (count>0) {
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  } main {
    Scanner sc=new Scanner(System.in);
    int abcde[]=new int[5];
    for (int i=0;i<5;i++) {
      abcde[i]=sc.nextInt();
    }
    int k=sc.nextInt();
    int count=0;

    for (int i=0;i<4;i++) {
      for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      }
    }

    if (count>0) {
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int abcde[]=new int[5]; abcde new int[5] 5 for (int i=0;i<5;i++) {
      abcde[i]=sc.nextInt();
    } int i=0; int i=0; i 0 i<5 i 5 i++ i++ i {
      abcde[i]=sc.nextInt();
    } {
      abcde[i]=sc.nextInt();
    } abcde[i]=sc.nextInt() abcde[i] abcde i sc.nextInt() sc.nextInt sc int k=sc.nextInt(); k sc.nextInt() sc.nextInt sc int count=0; count 0 for (int i=0;i<4;i++) {
      for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      }
    } int i=0; int i=0; i 0 i<4 i 4 i++ i++ i {
      for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      }
    } {
      for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      }
    } for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      } int j=i+1; int j=i+1; j i+1 i 1 j<5 j 5 j++ j++ j {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      } {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      } int ans=Math.abs(abcde[i]-abcde[j]); ans Math.abs(abcde[i]-abcde[j]) Math.abs Math abcde[i]-abcde[j] abcde[i] abcde i abcde[j] abcde j if (ans>k) {
          count++;
        } ans>k ans k {
          count++;
        } count++ count if (count>0) {
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    } count>0 count 0 {
      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 abcde[]=new int[5];
    for (int i=0;i<5;i++) {
      abcde[i]=sc.nextInt();
    }
    int k=sc.nextInt();
    int count=0;

    for (int i=0;i<4;i++) {
      for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      }
    }

    if (count>0) {
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
} public class Main{
  public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    int abcde[]=new int[5];
    for (int i=0;i<5;i++) {
      abcde[i]=sc.nextInt();
    }
    int k=sc.nextInt();
    int count=0;

    for (int i=0;i<4;i++) {
      for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      }
    }

    if (count>0) {
      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 abcde[]=new int[5];
    for (int i=0;i<5;i++) {
      abcde[i]=sc.nextInt();
    }
    int k=sc.nextInt();
    int count=0;

    for (int i=0;i<4;i++) {
      for (int j=i+1;j<5;j++) {
        int ans=Math.abs(abcde[i]-abcde[j]);
        if (ans>k) {
          count++;
        }
      }
    }

    if (count>0) {
      System.out.println(":(");
    }else{
      System.out.println("Yay!");
    }
  }
}
