import java.util.Scanner;

public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);

    while (in.hasNext()) {
      int[] antenna = new int[5];

      for (int i = 0; i < antenna.length; ++i) {
        antenna[i] = in.nextInt();
      }

      int k = in.nextInt();
      boolean canDirect = true;
      for (int i = 0; i < antenna.length && canDirect; ++i) {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      }

      if (canDirect) {
        System.out.println("Yay!");
      } else {
        System.out.println(":(");
      }
    }
  }
} import java.util.Scanner; Scanner java.util public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);

    while (in.hasNext()) {
      int[] antenna = new int[5];

      for (int i = 0; i < antenna.length; ++i) {
        antenna[i] = in.nextInt();
      }

      int k = in.nextInt();
      boolean canDirect = true;
      for (int i = 0; i < antenna.length && canDirect; ++i) {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      }

      if (canDirect) {
        System.out.println("Yay!");
      } else {
        System.out.println(":(");
      }
    }
  }
} Main public static void main (String[] args) {
    Scanner in = new Scanner(System.in);

    while (in.hasNext()) {
      int[] antenna = new int[5];

      for (int i = 0; i < antenna.length; ++i) {
        antenna[i] = in.nextInt();
      }

      int k = in.nextInt();
      boolean canDirect = true;
      for (int i = 0; i < antenna.length && canDirect; ++i) {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      }

      if (canDirect) {
        System.out.println("Yay!");
      } else {
        System.out.println(":(");
      }
    }
  } main {
    Scanner in = new Scanner(System.in);

    while (in.hasNext()) {
      int[] antenna = new int[5];

      for (int i = 0; i < antenna.length; ++i) {
        antenna[i] = in.nextInt();
      }

      int k = in.nextInt();
      boolean canDirect = true;
      for (int i = 0; i < antenna.length && canDirect; ++i) {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      }

      if (canDirect) {
        System.out.println("Yay!");
      } else {
        System.out.println(":(");
      }
    }
  } Scanner in = new Scanner(System.in); in new Scanner(System.in) while (in.hasNext()) {
      int[] antenna = new int[5];

      for (int i = 0; i < antenna.length; ++i) {
        antenna[i] = in.nextInt();
      }

      int k = in.nextInt();
      boolean canDirect = true;
      for (int i = 0; i < antenna.length && canDirect; ++i) {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      }

      if (canDirect) {
        System.out.println("Yay!");
      } else {
        System.out.println(":(");
      }
    } in.hasNext() in.hasNext in {
      int[] antenna = new int[5];

      for (int i = 0; i < antenna.length; ++i) {
        antenna[i] = in.nextInt();
      }

      int k = in.nextInt();
      boolean canDirect = true;
      for (int i = 0; i < antenna.length && canDirect; ++i) {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      }

      if (canDirect) {
        System.out.println("Yay!");
      } else {
        System.out.println(":(");
      }
    } int[] antenna = new int[5]; antenna new int[5] 5 for (int i = 0; i < antenna.length; ++i) {
        antenna[i] = in.nextInt();
      } int i = 0; int i = 0; i 0 i < antenna.length i antenna.length antenna antenna.length ++i ++i i {
        antenna[i] = in.nextInt();
      } {
        antenna[i] = in.nextInt();
      } antenna[i] = in.nextInt() antenna[i] antenna i in.nextInt() in.nextInt in int k = in.nextInt(); k in.nextInt() in.nextInt in boolean canDirect = true; canDirect true for (int i = 0; i < antenna.length && canDirect; ++i) {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      } int i = 0; int i = 0; i 0 i < antenna.length && canDirect i < antenna.length i antenna.length antenna antenna.length canDirect ++i ++i i {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      } {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      } for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        } int j = i + 1; int j = i + 1; j i + 1 i 1 j < antenna.length j antenna.length antenna antenna.length ++j ++j j {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        } {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        } if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          } Math.abs(antenna[i] - antenna[j]) > k Math.abs(antenna[i] - antenna[j]) Math.abs Math antenna[i] - antenna[j] antenna[i] antenna i antenna[j] antenna j k {
            canDirect = false;
            break;
          } canDirect = false canDirect false break; if (canDirect) {
        System.out.println("Yay!");
      } else {
        System.out.println(":(");
      } canDirect {
        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 in = new Scanner(System.in);

    while (in.hasNext()) {
      int[] antenna = new int[5];

      for (int i = 0; i < antenna.length; ++i) {
        antenna[i] = in.nextInt();
      }

      int k = in.nextInt();
      boolean canDirect = true;
      for (int i = 0; i < antenna.length && canDirect; ++i) {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      }

      if (canDirect) {
        System.out.println("Yay!");
      } else {
        System.out.println(":(");
      }
    }
  }
} public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);

    while (in.hasNext()) {
      int[] antenna = new int[5];

      for (int i = 0; i < antenna.length; ++i) {
        antenna[i] = in.nextInt();
      }

      int k = in.nextInt();
      boolean canDirect = true;
      for (int i = 0; i < antenna.length && canDirect; ++i) {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      }

      if (canDirect) {
        System.out.println("Yay!");
      } else {
        System.out.println(":(");
      }
    }
  }
} Main
import java.util.Scanner;

public class Main {
  public static void main (String[] args) {
    Scanner in = new Scanner(System.in);

    while (in.hasNext()) {
      int[] antenna = new int[5];

      for (int i = 0; i < antenna.length; ++i) {
        antenna[i] = in.nextInt();
      }

      int k = in.nextInt();
      boolean canDirect = true;
      for (int i = 0; i < antenna.length && canDirect; ++i) {
        for (int j = i + 1; j < antenna.length; ++j) {
          if (Math.abs(antenna[i] - antenna[j]) > k) {
            canDirect = false;
            break;
          }
        }
      }

      if (canDirect) {
        System.out.println("Yay!");
      } else {
        System.out.println(":(");
      }
    }
  }
}