import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String N = input.next();

        if (N.indexOf('7') >= 0) {
            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) {
        Scanner input = new Scanner(System.in);
        String N = input.next();

        if (N.indexOf('7') >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String N = input.next();

        if (N.indexOf('7') >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } main {
        Scanner input = new Scanner(System.in);
        String N = input.next();

        if (N.indexOf('7') >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } Scanner input = new Scanner(System.in); input new Scanner(System.in) String N = input.next(); N input.next() input.next input if (N.indexOf('7') >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } N.indexOf('7') >= 0 N.indexOf('7') N.indexOf N '7' 0 {
            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) {
        Scanner input = new Scanner(System.in);
        String N = input.next();

        if (N.indexOf('7') >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String N = input.next();

        if (N.indexOf('7') >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String N = input.next();

        if (N.indexOf('7') >= 0) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}
