import java.util.Scanner;

public class Main {
    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        System.out.println(sc.next().contains("7") ? "Yes" : "No");
    }
} import java.util.Scanner; Scanner java.util public class Main {
    static Scanner sc = new Scanner(System.in);

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

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

    public static void main(String[] args) {
        System.out.println(sc.next().contains("7") ? "Yes" : "No");
    }
} Main
import java.util.Scanner;

public class Main {
    static Scanner sc = new Scanner(System.in);

    public static void main(String[] args) {
        System.out.println(sc.next().contains("7") ? "Yes" : "No");
    }
}
