#include<bits/stdc++.h>
using namespace std;
  int main(){
     int a,b,c;
     int a = a % 10;
     a /= 10;
     int b = a % 10;
     a /= 10;
     int c = a;

     if(a == 7 || b == 7 || c == 7) {
        cout << "Yes";
     }else {
        cout << "No";
     }

 return 0;

}