import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String num = sc.nextLine();
		char[] work = new char[num.length()];
		int flag = 0;
	    for(int i = 0; i < num.length(); i++){
	    	if(num.charAt(i) == '7') {
	    		flag = 1;
	        }
	    }
	    if(flag == 1) {
	    	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) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String num = sc.nextLine();
		char[] work = new char[num.length()];
		int flag = 0;
	    for(int i = 0; i < num.length(); i++){
	    	if(num.charAt(i) == '7') {
	    		flag = 1;
	        }
	    }
	    if(flag == 1) {
	    	System.out.println("Yes");
	    }else {
	    	System.out.println("No");
	    }
	}
} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String num = sc.nextLine();
		char[] work = new char[num.length()];
		int flag = 0;
	    for(int i = 0; i < num.length(); i++){
	    	if(num.charAt(i) == '7') {
	    		flag = 1;
	        }
	    }
	    if(flag == 1) {
	    	System.out.println("Yes");
	    }else {
	    	System.out.println("No");
	    }
	} main {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String num = sc.nextLine();
		char[] work = new char[num.length()];
		int flag = 0;
	    for(int i = 0; i < num.length(); i++){
	    	if(num.charAt(i) == '7') {
	    		flag = 1;
	        }
	    }
	    if(flag == 1) {
	    	System.out.println("Yes");
	    }else {
	    	System.out.println("No");
	    }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String num = sc.nextLine(); num sc.nextLine() sc.nextLine sc char[] work = new char[num.length()]; work new char[num.length()] num.length() num.length num int flag = 0; flag 0 for(int i = 0; i < num.length(); i++){
	    	if(num.charAt(i) == '7') {
	    		flag = 1;
	        }
	    } int i = 0; int i = 0; i 0 i < num.length() i num.length() num.length num i++ i++ i {
	    	if(num.charAt(i) == '7') {
	    		flag = 1;
	        }
	    } {
	    	if(num.charAt(i) == '7') {
	    		flag = 1;
	        }
	    } if(num.charAt(i) == '7') {
	    		flag = 1;
	        } num.charAt(i) == '7' num.charAt(i) num.charAt num i '7' {
	    		flag = 1;
	        } flag = 1 flag 1 if(flag == 1) {
	    	System.out.println("Yes");
	    }else {
	    	System.out.println("No");
	    } flag == 1 flag 1 {
	    	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) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String num = sc.nextLine();
		char[] work = new char[num.length()];
		int flag = 0;
	    for(int i = 0; i < num.length(); i++){
	    	if(num.charAt(i) == '7') {
	    		flag = 1;
	        }
	    }
	    if(flag == 1) {
	    	System.out.println("Yes");
	    }else {
	    	System.out.println("No");
	    }
	}
} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String num = sc.nextLine();
		char[] work = new char[num.length()];
		int flag = 0;
	    for(int i = 0; i < num.length(); i++){
	    	if(num.charAt(i) == '7') {
	    		flag = 1;
	        }
	    }
	    if(flag == 1) {
	    	System.out.println("Yes");
	    }else {
	    	System.out.println("No");
	    }
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		String num = sc.nextLine();
		char[] work = new char[num.length()];
		int flag = 0;
	    for(int i = 0; i < num.length(); i++){
	    	if(num.charAt(i) == '7') {
	    		flag = 1;
	        }
	    }
	    if(flag == 1) {
	    	System.out.println("Yes");
	    }else {
	    	System.out.println("No");
	    }
	}
}
