
import java.util.Scanner;

class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        String str1 = stdIn.nextLine();

        String str2 = "7";
        int result = str1.indexOf(str2);

        if(result == -1)
            System.out.print("No");
        else
            System.out.print("Yes");
    }

} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        String str1 = stdIn.nextLine();

        String str2 = "7";
        int result = str1.indexOf(str2);

        if(result == -1)
            System.out.print("No");
        else
            System.out.print("Yes");
    }

} Main public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        String str1 = stdIn.nextLine();

        String str2 = "7";
        int result = str1.indexOf(str2);

        if(result == -1)
            System.out.print("No");
        else
            System.out.print("Yes");
    } main {
        Scanner stdIn = new Scanner(System.in);
        String str1 = stdIn.nextLine();

        String str2 = "7";
        int result = str1.indexOf(str2);

        if(result == -1)
            System.out.print("No");
        else
            System.out.print("Yes");
    } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) String str1 = stdIn.nextLine(); str1 stdIn.nextLine() stdIn.nextLine stdIn String str2 = "7"; str2 "7" int result = str1.indexOf(str2); result str1.indexOf(str2) str1.indexOf str1 str2 if(result == -1)
            System.out.print("No");
        else
            System.out.print("Yes"); result == -1 result -1 1 System.out.print("No") System.out.print System.out System System.out "No" System.out.print("Yes") System.out.print System.out System System.out "Yes" String[] args args

import java.util.Scanner;

class Main {
    public static void main(String[] args){
        Scanner stdIn = new Scanner(System.in);
        String str1 = stdIn.nextLine();

        String str2 = "7";
        int result = str1.indexOf(str2);

        if(result == -1)
            System.out.print("No");
        else
            System.out.print("Yes");
    }

}