
	


import java.util.*; 
	public class Main {
	public static void main( String[] args) {			
					
					Scanner in = new Scanner(System.in);
					String a = in.next();
					int l = a.length();
					int flag =0;
					for(int i = 0;i<l;i++) {
						if(a.charAt(i)=='7') {
							flag = 1;
							break;
						}
					}
					if(flag ==1)
					System.out.println("Yes");
					
					else {
						System.out.println("No");
					}
					
			}} import java.util.*; util.* java public class Main {
	public static void main( String[] args) {			
					
					Scanner in = new Scanner(System.in);
					String a = in.next();
					int l = a.length();
					int flag =0;
					for(int i = 0;i<l;i++) {
						if(a.charAt(i)=='7') {
							flag = 1;
							break;
						}
					}
					if(flag ==1)
					System.out.println("Yes");
					
					else {
						System.out.println("No");
					}
					
			}} Main public static void main( String[] args) {			
					
					Scanner in = new Scanner(System.in);
					String a = in.next();
					int l = a.length();
					int flag =0;
					for(int i = 0;i<l;i++) {
						if(a.charAt(i)=='7') {
							flag = 1;
							break;
						}
					}
					if(flag ==1)
					System.out.println("Yes");
					
					else {
						System.out.println("No");
					}
					
			} main {			
					
					Scanner in = new Scanner(System.in);
					String a = in.next();
					int l = a.length();
					int flag =0;
					for(int i = 0;i<l;i++) {
						if(a.charAt(i)=='7') {
							flag = 1;
							break;
						}
					}
					if(flag ==1)
					System.out.println("Yes");
					
					else {
						System.out.println("No");
					}
					
			} Scanner in = new Scanner(System.in); in new Scanner(System.in) String a = in.next(); a in.next() in.next in int l = a.length(); l a.length() a.length a int flag =0; flag 0 for(int i = 0;i<l;i++) {
						if(a.charAt(i)=='7') {
							flag = 1;
							break;
						}
					} int i = 0; int i = 0; i 0 i<l i l i++ i++ i {
						if(a.charAt(i)=='7') {
							flag = 1;
							break;
						}
					} {
						if(a.charAt(i)=='7') {
							flag = 1;
							break;
						}
					} if(a.charAt(i)=='7') {
							flag = 1;
							break;
						} a.charAt(i)=='7' a.charAt(i) a.charAt a i '7' {
							flag = 1;
							break;
						} flag = 1 flag 1 break; if(flag ==1)
					System.out.println("Yes");
					
					else {
						System.out.println("No");
					} flag ==1 flag 1 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) {			
					
					Scanner in = new Scanner(System.in);
					String a = in.next();
					int l = a.length();
					int flag =0;
					for(int i = 0;i<l;i++) {
						if(a.charAt(i)=='7') {
							flag = 1;
							break;
						}
					}
					if(flag ==1)
					System.out.println("Yes");
					
					else {
						System.out.println("No");
					}
					
			}} public class Main {
	public static void main( String[] args) {			
					
					Scanner in = new Scanner(System.in);
					String a = in.next();
					int l = a.length();
					int flag =0;
					for(int i = 0;i<l;i++) {
						if(a.charAt(i)=='7') {
							flag = 1;
							break;
						}
					}
					if(flag ==1)
					System.out.println("Yes");
					
					else {
						System.out.println("No");
					}
					
			}} Main

	


import java.util.*; 
	public class Main {
	public static void main( String[] args) {			
					
					Scanner in = new Scanner(System.in);
					String a = in.next();
					int l = a.length();
					int flag =0;
					for(int i = 0;i<l;i++) {
						if(a.charAt(i)=='7') {
							flag = 1;
							break;
						}
					}
					if(flag ==1)
					System.out.println("Yes");
					
					else {
						System.out.println("No");
					}
					
			}}