package no3027; import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Thread.sleep(n * 100); if (n == 1) { System.out.println(7); }else if(n == 5) { System.out.println(5); } System.out.println(1); } }