public class Main {
  public static void main(String[] args) {
    String N = new java.util.Scanner(System.in).nextLine();
    if (N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7') {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
} public class Main {
  public static void main(String[] args) {
    String N = new java.util.Scanner(System.in).nextLine();
    if (N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7') {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
} Main public static void main(String[] args) {
    String N = new java.util.Scanner(System.in).nextLine();
    if (N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7') {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  } main {
    String N = new java.util.Scanner(System.in).nextLine();
    if (N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7') {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  } String N = new java.util.Scanner(System.in).nextLine(); N new java.util.Scanner(System.in).nextLine() new java.util.Scanner(System.in).nextLine new java.util.Scanner(System.in) if (N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7') {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    } 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' {
      System.out.println("Yes");
    } System.out.println("Yes") System.out.println System.out System System.out "Yes" {
      System.out.println("No");
    } System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {
  public static void main(String[] args) {
    String N = new java.util.Scanner(System.in).nextLine();
    if (N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7') {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
} public class Main {
  public static void main(String[] args) {
    String N = new java.util.Scanner(System.in).nextLine();
    if (N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7') {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
} Main
public class Main {
  public static void main(String[] args) {
    String N = new java.util.Scanner(System.in).nextLine();
    if (N.charAt(0) == '7' || N.charAt(1) == '7' || N.charAt(2) == '7') {
      System.out.println("Yes");
    } else {
      System.out.println("No");
    }
  }
}
