import java.util.Scanner;
class Main{
  
  static void check_include_7(int number){
    if(number/100 == 7 || number % 10 == 7 || ((number % 100<=79)&&( number % 100 >= 70))){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
  public static void main(String args[]){
    Scanner scanner = new Scanner(System.in);
    int number = scanner.nextInt();
    check_include_7(number);
    scanner.close();
  }

} import java.util.Scanner; Scanner java.util class Main{
  
  static void check_include_7(int number){
    if(number/100 == 7 || number % 10 == 7 || ((number % 100<=79)&&( number % 100 >= 70))){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
  public static void main(String args[]){
    Scanner scanner = new Scanner(System.in);
    int number = scanner.nextInt();
    check_include_7(number);
    scanner.close();
  }

} Main static void check_include_7(int number){
    if(number/100 == 7 || number % 10 == 7 || ((number % 100<=79)&&( number % 100 >= 70))){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  } check_include_7 {
    if(number/100 == 7 || number % 10 == 7 || ((number % 100<=79)&&( number % 100 >= 70))){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  } if(number/100 == 7 || number % 10 == 7 || ((number % 100<=79)&&( number % 100 >= 70))){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    } number/100 == 7 || number % 10 == 7 || ((number % 100<=79)&&( number % 100 >= 70)) number/100 == 7 || number % 10 == 7 || ((number % 100<=79)&&( number % 100 >= 70)) number/100 == 7 number/100 number 100 7 number % 10 == 7 number % 10 number 10 7 ((number % 100<=79)&&( number % 100 >= 70)) (number % 100<=79) number % 100 number 100 79 ( number % 100 >= 70) number % 100 number 100 70 {
      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" int number number public static void main(String args[]){
    Scanner scanner = new Scanner(System.in);
    int number = scanner.nextInt();
    check_include_7(number);
    scanner.close();
  } main {
    Scanner scanner = new Scanner(System.in);
    int number = scanner.nextInt();
    check_include_7(number);
    scanner.close();
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int number = scanner.nextInt(); number scanner.nextInt() scanner.nextInt scanner check_include_7(number) check_include_7 number scanner.close() scanner.close scanner String args[] args
import java.util.Scanner;
class Main{
  
  static void check_include_7(int number){
    if(number/100 == 7 || number % 10 == 7 || ((number % 100<=79)&&( number % 100 >= 70))){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
  }
  public static void main(String args[]){
    Scanner scanner = new Scanner(System.in);
    int number = scanner.nextInt();
    check_include_7(number);
    scanner.close();
  }

}
