class Main{public static void main(String[]a){System.out.print(new java.util.Scanner(System.in).next().contains("7")?"Yes":"No");}} class Main{public static void main(String[]a){System.out.print(new java.util.Scanner(System.in).next().contains("7")?"Yes":"No");}} Main public static void main(String[]a){System.out.print(new java.util.Scanner(System.in).next().contains("7")?"Yes":"No");} main {System.out.print(new java.util.Scanner(System.in).next().contains("7")?"Yes":"No");} System.out.print(new java.util.Scanner(System.in).next().contains("7")?"Yes":"No") System.out.print System.out System System.out new java.util.Scanner(System.in).next().contains("7")?"Yes":"No" new java.util.Scanner(System.in).next().contains("7") new java.util.Scanner(System.in).next().contains new java.util.Scanner(System.in).next() new java.util.Scanner(System.in).next new java.util.Scanner(System.in) "7" "Yes" "No" String[]a a
class Main{public static void main(String[]a){System.out.print(new java.util.Scanner(System.in).next().contains("7")?"Yes":"No");}}