import java.util.*;
 
public class Main {
    public static void main(String[] args) throws Exception {
Scanner sc=new Scanner(System.in);
int a=0;
int b=sc.nextInt();
 String []c=String.valueOf(b).split("");
for(int i=0;i<c.length;i++){
    if(c[i].equals("7")){
        a=1;
        i=3;
    }
}
if(a==1){
    System.out.println("Yes");
}else{
       System.out.println("No"); 
}
}
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
Scanner sc=new Scanner(System.in);
int a=0;
int b=sc.nextInt();
 String []c=String.valueOf(b).split("");
for(int i=0;i<c.length;i++){
    if(c[i].equals("7")){
        a=1;
        i=3;
    }
}
if(a==1){
    System.out.println("Yes");
}else{
       System.out.println("No"); 
}
}
} Main public static void main(String[] args) throws Exception {
Scanner sc=new Scanner(System.in);
int a=0;
int b=sc.nextInt();
 String []c=String.valueOf(b).split("");
for(int i=0;i<c.length;i++){
    if(c[i].equals("7")){
        a=1;
        i=3;
    }
}
if(a==1){
    System.out.println("Yes");
}else{
       System.out.println("No"); 
}
} main {
Scanner sc=new Scanner(System.in);
int a=0;
int b=sc.nextInt();
 String []c=String.valueOf(b).split("");
for(int i=0;i<c.length;i++){
    if(c[i].equals("7")){
        a=1;
        i=3;
    }
}
if(a==1){
    System.out.println("Yes");
}else{
       System.out.println("No"); 
}
} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a=0; a 0 int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc String []c=String.valueOf(b).split(""); c String.valueOf(b).split("") String.valueOf(b).split String.valueOf(b) String.valueOf String b "" for(int i=0;i<c.length;i++){
    if(c[i].equals("7")){
        a=1;
        i=3;
    }
} int i=0; int i=0; i 0 i<c.length i c.length c c.length i++ i++ i {
    if(c[i].equals("7")){
        a=1;
        i=3;
    }
} {
    if(c[i].equals("7")){
        a=1;
        i=3;
    }
} if(c[i].equals("7")){
        a=1;
        i=3;
    } c[i].equals("7") c[i].equals c[i] c i "7" {
        a=1;
        i=3;
    } a=1 a 1 i=3 i 3 if(a==1){
    System.out.println("Yes");
}else{
       System.out.println("No"); 
} a==1 a 1 {
    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) throws Exception {
Scanner sc=new Scanner(System.in);
int a=0;
int b=sc.nextInt();
 String []c=String.valueOf(b).split("");
for(int i=0;i<c.length;i++){
    if(c[i].equals("7")){
        a=1;
        i=3;
    }
}
if(a==1){
    System.out.println("Yes");
}else{
       System.out.println("No"); 
}
}
} public class Main {
    public static void main(String[] args) throws Exception {
Scanner sc=new Scanner(System.in);
int a=0;
int b=sc.nextInt();
 String []c=String.valueOf(b).split("");
for(int i=0;i<c.length;i++){
    if(c[i].equals("7")){
        a=1;
        i=3;
    }
}
if(a==1){
    System.out.println("Yes");
}else{
       System.out.println("No"); 
}
}
} Main
import java.util.*;
 
public class Main {
    public static void main(String[] args) throws Exception {
Scanner sc=new Scanner(System.in);
int a=0;
int b=sc.nextInt();
 String []c=String.valueOf(b).split("");
for(int i=0;i<c.length;i++){
    if(c[i].equals("7")){
        a=1;
        i=3;
    }
}
if(a==1){
    System.out.println("Yes");
}else{
       System.out.println("No"); 
}
}
}