const input = require("fs").readFileSync("/dev/stdin", "utf8");
const lines = input.split('\n');
const y = lines[5];


 for(let i=4; i>0; i--){
if(lines[i]-lines[0] >= y || lines[i+1]-lines[1] >= y || lines[i+2]-lines[2] >= y || lines[i+3]-lines[3] >= y || lines[i+4]-lines[4] >= y){
  console.log(":(");
}else{
  console.log("Yay!");
}}

