'use strict'
let input = require("fs").readFileSync("/dev/stdin", "utf8");
input = input.split('\n').map(x=> x*1);
let ans = "Yay!";
let amount = input.pop();

for(let i of input){
  if(i > amount){
  	ans = ":(";
    break;
  };
}

console.log(ans);
