function Main(input) {
  var array = input.split('\n');
  var limit = array[5];
  var max = array[4];
  var min = array[0];
  var maxDistance = max - min;
  if(maxDistance > limit) {
    console.log(':(');
  } else {
    console.log('Yay!');
  }
}

Main("10\n11\n12\n13\n14\n20");
// Main(require("fs").readFileSync("/dev/stdin", "utf8"));
