import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] number = new int[6];
    for (int i = 0; i < 6; i++) {
      number[i] = Integer.parseInt(br.readLine());
    }
    int K = number[5];
    int range = 0;
    String ans = "Yay!";
    for (int i = 0; i < 5; i++) {
      for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      }
      if (ans != "Yay!") break;
    }
    System.out.println(ans);
  }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] number = new int[6];
    for (int i = 0; i < 6; i++) {
      number[i] = Integer.parseInt(br.readLine());
    }
    int K = number[5];
    int range = 0;
    String ans = "Yay!";
    for (int i = 0; i < 5; i++) {
      for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      }
      if (ans != "Yay!") break;
    }
    System.out.println(ans);
  }
} Main public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] number = new int[6];
    for (int i = 0; i < 6; i++) {
      number[i] = Integer.parseInt(br.readLine());
    }
    int K = number[5];
    int range = 0;
    String ans = "Yay!";
    for (int i = 0; i < 5; i++) {
      for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      }
      if (ans != "Yay!") break;
    }
    System.out.println(ans);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] number = new int[6];
    for (int i = 0; i < 6; i++) {
      number[i] = Integer.parseInt(br.readLine());
    }
    int K = number[5];
    int range = 0;
    String ans = "Yay!";
    for (int i = 0; i < 5; i++) {
      for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      }
      if (ans != "Yay!") break;
    }
    System.out.println(ans);
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int[] number = new int[6]; number new int[6] 6 for (int i = 0; i < 6; i++) {
      number[i] = Integer.parseInt(br.readLine());
    } int i = 0; int i = 0; i 0 i < 6 i 6 i++ i++ i {
      number[i] = Integer.parseInt(br.readLine());
    } {
      number[i] = Integer.parseInt(br.readLine());
    } number[i] = Integer.parseInt(br.readLine()) number[i] number i Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br int K = number[5]; K number[5] number 5 int range = 0; range 0 String ans = "Yay!"; ans "Yay!" for (int i = 0; i < 5; i++) {
      for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      }
      if (ans != "Yay!") break;
    } int i = 0; int i = 0; i 0 i < 5 i 5 i++ i++ i {
      for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      }
      if (ans != "Yay!") break;
    } {
      for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      }
      if (ans != "Yay!") break;
    } for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      } int j = i + 1; int j = i + 1; j i + 1 i 1 j < 5 j 5 j++ j++ j {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      } {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      } range = number[j] - number[i] range number[j] - number[i] number[j] number j number[i] number i if (range > K) {
          ans = ":(";
          break;
        } range > K range K {
          ans = ":(";
          break;
        } ans = ":(" ans ":(" break; range = 0 range 0 if (ans != "Yay!") break; ans != "Yay!" ans "Yay!" break; System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] number = new int[6];
    for (int i = 0; i < 6; i++) {
      number[i] = Integer.parseInt(br.readLine());
    }
    int K = number[5];
    int range = 0;
    String ans = "Yay!";
    for (int i = 0; i < 5; i++) {
      for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      }
      if (ans != "Yay!") break;
    }
    System.out.println(ans);
  }
} public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] number = new int[6];
    for (int i = 0; i < 6; i++) {
      number[i] = Integer.parseInt(br.readLine());
    }
    int K = number[5];
    int range = 0;
    String ans = "Yay!";
    for (int i = 0; i < 5; i++) {
      for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      }
      if (ans != "Yay!") break;
    }
    System.out.println(ans);
  }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    int[] number = new int[6];
    for (int i = 0; i < 6; i++) {
      number[i] = Integer.parseInt(br.readLine());
    }
    int K = number[5];
    int range = 0;
    String ans = "Yay!";
    for (int i = 0; i < 5; i++) {
      for (int j = i + 1; j < 5; j++) {
        range = number[j] - number[i];
        if (range > K) {
          ans = ":(";
          break;
        }
        range = 0;
      }
      if (ans != "Yay!") break;
    }
    System.out.println(ans);
  }
}