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

int mani(){
  string a;
  cin >> a;
  
  for (int i=0;i<1000;++i){
    if (a.at(i) == 7) {
      cout << "Yes" << endl;
    }
    else {
      cout << "No" << endl;
  }
  }
}