import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    String N = scanner.next();
    boolean a = N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7';
    String answer = a ? "Yes" : "No";
    System.out.println(answer);
  }
} import java.util.Scanner; Scanner java.util public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    String N = scanner.next();
    boolean a = N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7';
    String answer = a ? "Yes" : "No";
    System.out.println(answer);
  }
} Main public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    String N = scanner.next();
    boolean a = N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7';
    String answer = a ? "Yes" : "No";
    System.out.println(answer);
  } main {
    Scanner scanner = new Scanner(System.in);
    String N = scanner.next();
    boolean a = N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7';
    String answer = a ? "Yes" : "No";
    System.out.println(answer);
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String N = scanner.next(); N scanner.next() scanner.next scanner boolean a = N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7'; a N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7' N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7' N.charAt(0) == '7' N.charAt(0) N.charAt N 0 '7' N.charAt(1) == '7' N.charAt(1) N.charAt N 1 '7' N.charAt(2) == '7' N.charAt(2) N.charAt N 2 '7' String answer = a ? "Yes" : "No"; answer a ? "Yes" : "No" a "Yes" "No" System.out.println(answer) System.out.println System.out System System.out answer String[] args args public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    String N = scanner.next();
    boolean a = N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7';
    String answer = a ? "Yes" : "No";
    System.out.println(answer);
  }
} public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    String N = scanner.next();
    boolean a = N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7';
    String answer = a ? "Yes" : "No";
    System.out.println(answer);
  }
} Main
import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner scanner = new Scanner(System.in);
    String N = scanner.next();
    boolean a = N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7';
    String answer = a ? "Yes" : "No";
    System.out.println(answer);
  }
}