import java.util.*;
public class tongji {
public static void main(String args[])
{Scanner cd=new Scanner(System.in);
int n,a=1,b,c=0,d=0,e=0;
n=cd.nextInt();
while(a<=n){
b=cd.nextInt();
if(b<0) c++;
else if(b==0) d++;
else e++;
a++;
}
System.out.printf("负数=%d,零=%d,正数=%d",c,d,e);
}
}
import java.util.Scanner;
public class jieduan
{public static void main(String args[])
{
Scanner ab=new Scanner(System.in);
double x,y;
x=ab.nextDouble();
if(x<-40) y=0.75*x;
else if(x<=20) y=x*x;
else y=x-6;
System.out.printf("%.2f",y);
}
}
public class tongji {
public static void main(String args[])
{Scanner cd=new Scanner(System.in);
int n,a=1,b,c=0,d=0,e=0;
n=cd.nextInt();
while(a<=n){
b=cd.nextInt();
if(b<0) c++;
else if(b==0) d++;
else e++;
a++;
}
System.out.printf("负数=%d,零=%d,正数=%d",c,d,e);
}
}
import java.util.Scanner;
public class jieduan
{public static void main(String args[])
{
Scanner ab=new Scanner(System.in);
double x,y;
x=ab.nextDouble();
if(x<-40) y=0.75*x;
else if(x<=20) y=x*x;
else y=x-6;
System.out.printf("%.2f",y);
}
}