import java.util.Scanner;

public class Main {
	public static boolean havedigit7(int number) {
		boolean have7 = false;
		while (number > 0 && !have7)
			if (number % 10 == 7)
				have7 = true;
			else
				number /= 10;
		return have7;
	}

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			System.out.println(havedigit7(scanner.nextInt()) ? "Yes" : "No");
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static boolean havedigit7(int number) {
		boolean have7 = false;
		while (number > 0 && !have7)
			if (number % 10 == 7)
				have7 = true;
			else
				number /= 10;
		return have7;
	}

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			System.out.println(havedigit7(scanner.nextInt()) ? "Yes" : "No");
		}
	}
} Main public static boolean havedigit7(int number) {
		boolean have7 = false;
		while (number > 0 && !have7)
			if (number % 10 == 7)
				have7 = true;
			else
				number /= 10;
		return have7;
	} havedigit7 {
		boolean have7 = false;
		while (number > 0 && !have7)
			if (number % 10 == 7)
				have7 = true;
			else
				number /= 10;
		return have7;
	} boolean have7 = false; have7 false while (number > 0 && !have7)
			if (number % 10 == 7)
				have7 = true;
			else
				number /= 10; number > 0 && !have7 number > 0 number 0 !have7 have7 if (number % 10 == 7)
				have7 = true;
			else
				number /= 10; number % 10 == 7 number % 10 number 10 7 have7 = true have7 true number /= 10 number 10 return have7; have7 int number number public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			System.out.println(havedigit7(scanner.nextInt()) ? "Yes" : "No");
		}
	} main {
		try (Scanner scanner = new Scanner(System.in)) {
			System.out.println(havedigit7(scanner.nextInt()) ? "Yes" : "No");
		}
	} try (Scanner scanner = new Scanner(System.in)) {
			System.out.println(havedigit7(scanner.nextInt()) ? "Yes" : "No");
		} {
			System.out.println(havedigit7(scanner.nextInt()) ? "Yes" : "No");
		} Scanner scanner = new Scanner(System.in) Scanner scanner = new Scanner(System.in) new Scanner(System.in) System.out.println(havedigit7(scanner.nextInt()) ? "Yes" : "No") System.out.println System.out System System.out havedigit7(scanner.nextInt()) ? "Yes" : "No" havedigit7(scanner.nextInt()) havedigit7 scanner.nextInt() scanner.nextInt scanner "Yes" "No" String[] args args public class Main {
	public static boolean havedigit7(int number) {
		boolean have7 = false;
		while (number > 0 && !have7)
			if (number % 10 == 7)
				have7 = true;
			else
				number /= 10;
		return have7;
	}

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			System.out.println(havedigit7(scanner.nextInt()) ? "Yes" : "No");
		}
	}
} public class Main {
	public static boolean havedigit7(int number) {
		boolean have7 = false;
		while (number > 0 && !have7)
			if (number % 10 == 7)
				have7 = true;
			else
				number /= 10;
		return have7;
	}

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			System.out.println(havedigit7(scanner.nextInt()) ? "Yes" : "No");
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static boolean havedigit7(int number) {
		boolean have7 = false;
		while (number > 0 && !have7)
			if (number % 10 == 7)
				have7 = true;
			else
				number /= 10;
		return have7;
	}

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			System.out.println(havedigit7(scanner.nextInt()) ? "Yes" : "No");
		}
	}
}
