#include <bits/stdc++.h>
using namespace std;

typedef long long ll;

int main() {
	ios::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);
	
	string n;
	cin>>n;

	if(s[0] == '7' ||s[1] == '7' ||s[2] == '7'){
		cout<<"Yes\n";
	}
	else cout<<"No\n";

}
