import java.io.IOException; import java.util.NoSuchElementException; public class Main{ public static void main(String[] args){ FastScanner sc = new FastScanner(); int N = sc.nextInt(); if(N%2==1){ System.out.print(7); N -= 3; } for(int i=0;i