import java.util.Scanner; class Sample { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); String input = scanner.nextLine(); int n=Integer.parseInt(input); Long sum=0L; for(int i =0;i