public static void main(String[] args) 
      {
	  System.out.println("   5 .");
	  
     sc = new Scanner(System.in);
     double[] a = new double[5];
     int[] m = new int[5];
     int s=0;
     
     // 
     for (int i = 0; i < 5; i++){
    	 if (sc.hasNextDouble()){
     a[i] = sc.nextDouble();}
    	 else	   { 
             getError();
         }
     }
     //   
     for (int i = 0; i < 5; i++){
		 int x = (int) a[i];
	     double y = a[i] - x; 
    	if (y!=0){
    		s++;//    ,   ;
    	} }
     if(s==0){//  ,         
    	 for (int i = 0; i < 5; i++){
    		 m[i]=(int) a[i];     		 
    	 }
    	 System.out.println(" int = " + getSumNumbers(m));
    	 System.out.println("г int = " +getDiffNumbers(m));
		 System.out.println(" int = " +getProdNumbers(m));
		 System.out.println(" int = " +getMaxNumbers(m));
		 System.out.println(" int = " +getMinNumbers(m));
		 System.out.println(" int = " +getAverNumbers(m));
    	 
     } else{// ,     
    	 System.out.println(" double = " + getSumNumbers(a));
    	 System.out.println("г double = " +getDiffNumbers(a));
		 System.out.println(" double = " +getProdNumbers(a));
		 System.out.println(" double = " +getMaxNumbers(a));
		 System.out.println(" double = " +getMinNumbers(a));
		 System.out.println(" double = " +getAverNumbers(a));
     }
     }