#include<iostream>
#include<string>
#include<algorithm>
#include<vector>
#include<cmath>
typedef long long  ll;
typedef long double lb;
using namespace std;
int main() {
    string n;
    if (n[0] == '7') cout << "Yes";
    else if (n[1] == '7')cout << "Yes";
    else if (n[2] == '7')cout << "Yes";
    else cout << "No";
}

