function Main(input) {
  const arr = Array.from(input);
  const is7Included = arr.some(x => x === '7');

  if (is7Included) {
    console.log('Yes');
  } else {
    console.log('No');
  }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));