#includeint main(){int x,i,a[101]={0};scanf("%d",&x);while(x>0&&x<101){a[x]++;scanf("%d",&x);}for(i=1;i<101;i++) if(a[i]) printf("%d:%d\n",i,a[i]);return 0;}