import java.util.Scanner; public class enter{ public static void main(String[] args){ Long totalnum = 0L; Scanner sc = new Scanner(System.in); int N = sc.nextInt(); for(int i = 0;i