#include <iostream>
#include <string>
#include <stdio.h>
using namespace std;


int main(){
    string n;
	cin >> n;
	if (s.find("7") != std::string::npos) {
          cout << "Yes" << endl;  
	}else{

        cout << "No" << endl;
    }
    return 0;
}