import java.util.Scanner;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int x = stdIn.nextInt();
        boolean s=false;
        if(x/100==7){
            s=true;
        }else if(x%100/10==7){
            s=true;
        }else if(x%10==7){
            s=true;
        }
        if(s){
           System.out.println("Yes"); 
        }else{
            System.out.println("No");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int x = stdIn.nextInt();
        boolean s=false;
        if(x/100==7){
            s=true;
        }else if(x%100/10==7){
            s=true;
        }else if(x%10==7){
            s=true;
        }
        if(s){
           System.out.println("Yes"); 
        }else{
            System.out.println("No");
        }
    }
} Main public static void main(String[] args) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int x = stdIn.nextInt();
        boolean s=false;
        if(x/100==7){
            s=true;
        }else if(x%100/10==7){
            s=true;
        }else if(x%10==7){
            s=true;
        }
        if(s){
           System.out.println("Yes"); 
        }else{
            System.out.println("No");
        }
    } main {
        Scanner stdIn= new Scanner(System.in);
        int x = stdIn.nextInt();
        boolean s=false;
        if(x/100==7){
            s=true;
        }else if(x%100/10==7){
            s=true;
        }else if(x%10==7){
            s=true;
        }
        if(s){
           System.out.println("Yes"); 
        }else{
            System.out.println("No");
        }
    } Scanner stdIn= new Scanner(System.in); stdIn new Scanner(System.in) int x = stdIn.nextInt(); x stdIn.nextInt() stdIn.nextInt stdIn boolean s=false; s false if(x/100==7){
            s=true;
        }else if(x%100/10==7){
            s=true;
        }else if(x%10==7){
            s=true;
        } x/100==7 x/100 x 100 7 {
            s=true;
        } s=true s true if(x%100/10==7){
            s=true;
        }else if(x%10==7){
            s=true;
        } x%100/10==7 x%100/10 x%100 x 100 10 7 {
            s=true;
        } s=true s true if(x%10==7){
            s=true;
        } x%10==7 x%10 x 10 7 {
            s=true;
        } s=true s true if(s){
           System.out.println("Yes"); 
        }else{
            System.out.println("No");
        } s {
           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 stdIn= new Scanner(System.in);
        int x = stdIn.nextInt();
        boolean s=false;
        if(x/100==7){
            s=true;
        }else if(x%100/10==7){
            s=true;
        }else if(x%10==7){
            s=true;
        }
        if(s){
           System.out.println("Yes"); 
        }else{
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int x = stdIn.nextInt();
        boolean s=false;
        if(x/100==7){
            s=true;
        }else if(x%100/10==7){
            s=true;
        }else if(x%10==7){
            s=true;
        }
        if(s){
           System.out.println("Yes"); 
        }else{
            System.out.println("No");
        }
    }
} Main
import java.util.Scanner;
public class Main {
    public static void main(String[] args) throws Exception {
        Scanner stdIn= new Scanner(System.in);
        int x = stdIn.nextInt();
        boolean s=false;
        if(x/100==7){
            s=true;
        }else if(x%100/10==7){
            s=true;
        }else if(x%10==7){
            s=true;
        }
        if(s){
           System.out.println("Yes"); 
        }else{
            System.out.println("No");
        }
    }
}
