import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int N = sc.nextInt();
            System.out.println((N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int N = sc.nextInt();
            System.out.println((N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No");
        }
    }
} Main public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int N = sc.nextInt();
            System.out.println((N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No");
        }
    } main {
        try (Scanner sc = new Scanner(System.in)) {
            int N = sc.nextInt();
            System.out.println((N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No");
        }
    } try (Scanner sc = new Scanner(System.in)) {
            int N = sc.nextInt();
            System.out.println((N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No");
        } {
            int N = sc.nextInt();
            System.out.println((N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No");
        } Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) int N = sc.nextInt(); N sc.nextInt() sc.nextInt sc System.out.println((N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No") System.out.println System.out System System.out (N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No" (N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7 N % 10 == 7 N % 10 N 10 7 ((N / 10) % 10) == 7 ((N / 10) % 10) (N / 10) N 10 10 7 ((N / 100) % 10) == 7 ((N / 100) % 10) (N / 100) N 100 10 7 "Yes" "No" String[] args args public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int N = sc.nextInt();
            System.out.println((N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No");
        }
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int N = sc.nextInt();
            System.out.println((N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner sc = new Scanner(System.in)) {
            int N = sc.nextInt();
            System.out.println((N % 10 == 7 || ((N / 10) % 10) == 7 || ((N / 100) % 10) == 7) ? "Yes" : "No");
        }
    }
}
