import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

class Main{
  public static void main(String[] arigs) throws IOException{
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String N = reader.readLine();
    System.out.println(N.contains("7")?"Yes":"No");
    reader.close();
  }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io class Main{
  public static void main(String[] arigs) throws IOException{
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String N = reader.readLine();
    System.out.println(N.contains("7")?"Yes":"No");
    reader.close();
  }
} Main public static void main(String[] arigs) throws IOException{
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String N = reader.readLine();
    System.out.println(N.contains("7")?"Yes":"No");
    reader.close();
  } main {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String N = reader.readLine();
    System.out.println(N.contains("7")?"Yes":"No");
    reader.close();
  } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String N = reader.readLine(); N reader.readLine() reader.readLine reader System.out.println(N.contains("7")?"Yes":"No") System.out.println System.out System System.out N.contains("7")?"Yes":"No" N.contains("7") N.contains N "7" "Yes" "No" reader.close() reader.close reader String[] arigs arigs
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

class Main{
  public static void main(String[] arigs) throws IOException{
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    String N = reader.readLine();
    System.out.println(N.contains("7")?"Yes":"No");
    reader.close();
  }
}