#include
int main() {
int n,a,pos=0,neg=0,netr=0;
scanf("%d", &n);
for(int i = 0; i < n; i++) {
scanf("%d", &a);
if(a > 0 ) pos++;
else if(a < 0) neg++;
else netr++;
}
pos = pos/n*100;
neg = neg/n*100;
netr = netr/n*100;
printf("+: %d ; -: %d; 0: %d", pos, neg, netr);
}