#include <bits/stdc++.h>
using namespace std;
int main() {
  string N="abc";
  cin>>N;
  if('a'=='7'){
    cout<<"Yes"<<endl;
  }
  else if('b'=='7'){
    cout<<"Yes"<<endl;
  }
  else if('c'=='7'){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
}
