fun main(args: Array<String>) {
  val input1 = readLine()!!
  var result = "No"
  for (i in input1.indices) {
    val num = input1[i]
    if (num == '7') {
      result = "Yes"
      break
    }
  }
  println(result)

}
