import java.util.Scanner; class no369{ public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); int n,a,i,s=0; n=stdIn.nextInt(); for(i=0;i