import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();

        System.out.println(String.valueOf(n).contains("7") ? "Yes" : "No");
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();

        System.out.println(String.valueOf(n).contains("7") ? "Yes" : "No");
    }
} Main public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();

        System.out.println(String.valueOf(n).contains("7") ? "Yes" : "No");
    } main {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();

        System.out.println(String.valueOf(n).contains("7") ? "Yes" : "No");
    } final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc System.out.println(String.valueOf(n).contains("7") ? "Yes" : "No") System.out.println System.out System System.out String.valueOf(n).contains("7") ? "Yes" : "No" String.valueOf(n).contains("7") String.valueOf(n).contains String.valueOf(n) String.valueOf String n "7" "Yes" "No" String[] args args public class Main {

    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();

        System.out.println(String.valueOf(n).contains("7") ? "Yes" : "No");
    }
} public class Main {

    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();

        System.out.println(String.valueOf(n).contains("7") ? "Yes" : "No");
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        final Scanner sc = new Scanner(System.in);

        final int n = sc.nextInt();

        System.out.println(String.valueOf(n).contains("7") ? "Yes" : "No");
    }
}
