
// Burton Rosenberg
// Mon Jan 27 1998
// SumN.java

import java.io.* ;

class SumN
{

   public static void main( String [] argv )
   throws IOException
   {
      BufferedReader stdin = new BufferedReader
         (new InputStreamReader(System.in)) ;

      System.out.print("Count: " ) ;
      int count ;
      count = Integer.parseInt(stdin.readLine()) ;
      int sum ;
      sum = 0 ;
         
      // count is the number of integers left to read
      while ( count > 0 ) 
      {
         int i ;
         System.out.print("Number: " ) ;
         i = Integer.parseInt(stdin.readLine()) ;
         sum = sum + i ;
         count = count - 1 ;
      }
      System.out.println("The sum is " + sum + "." ) ;
   }

}

