#include <stdio.h>
#define LOW 0
#define HIGH 100
#define STEP 10
int main()
{
int n,
i,
j,
c[HIGH / STEP + 1] = {};
while (scanf("%d", &n) != EOF) {
if (n < LOW) break;
if (n > HIGH) printf("please input(%d~%d)\n", LOW, HIGH );
++c[n / STEP];
}
for (i = 0; i < HIGH / STEP ; ++i) {
printf("%4d以上%4d未満 :", i * STEP, (i + 1) * STEP);
for (j = c[i]; j--;) putchar('*');
putchar('\n');
}
printf(" 100 :");
for (j = c[i]; j--;) putchar('*');
putchar('\n');
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNkZWZpbmUgTE9XIDAKI2RlZmluZSBISUdIIDEwMAojZGVmaW5lIFNURVAgMTAKCmludCBtYWluKCkKewogIGludCBuLAogICAgICBpLAogICAgICBqLAogICAgICBjW0hJR0ggLyBTVEVQICsgMV0gPSB7fTsKCiAgd2hpbGUgKHNjYW5mKCIlZCIsICZuKSAhPSBFT0YpIHsKICAgIGlmIChuIDwgTE9XKSBicmVhazsKICAgIGlmIChuID4gSElHSCkgcHJpbnRmKCJwbGVhc2UgaW5wdXQoJWR+JWQpXG4iLCBMT1csIEhJR0ggKTsKICAgICsrY1tuIC8gU1RFUF07CiAgfQogIGZvciAoaSA9IDA7IGkgPCBISUdIIC8gU1RFUCA7ICsraSkgewogICAgcHJpbnRmKCIlNGTku6XkuIolNGTmnKrmuoAgOiIsIGkgKiBTVEVQLCAoaSArIDEpICogU1RFUCk7CiAgICBmb3IgKGogPSBjW2ldOyBqLS07KSBwdXRjaGFyKCcqJyk7CiAgICBwdXRjaGFyKCdcbicpOwogIH0KICBwcmludGYoIiAgICAgICAgIDEwMCAgICAgOiIpOwogIGZvciAoaiA9IGNbaV07IGotLTspIHB1dGNoYXIoJyonKTsKICBwdXRjaGFyKCdcbicpOwoKICByZXR1cm4gMDsKfQo=