#include <cmath>
#include <iostream>
using namespace std;
const unsigned int RESULTING_SEQUENCE_SIZE = 10;
int main() {
double currentMember;
double resultingSequence[RESULTING_SEQUENCE_SIZE]{0};
// Process until the end of the input stream
while (cin >> currentMember) {
// Accumulate the sum of suitable elements to the corresponding member of the resulting sequence
if (1 <= ceil(currentMember) && ceil(currentMember) <= RESULTING_SEQUENCE_SIZE) {
resultingSequence[(int)ceil(currentMember) - 1] += currentMember;
}
}
// Output the sequence
for (auto currentMember : resultingSequence) {
cout << currentMember << " ";
}
return 0;
}
I2luY2x1ZGUgPGNtYXRoPgojaW5jbHVkZSA8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7Cgpjb25zdCB1bnNpZ25lZCBpbnQgUkVTVUxUSU5HX1NFUVVFTkNFX1NJWkUgPSAxMDsKCmludCBtYWluKCkgewoJZG91YmxlIGN1cnJlbnRNZW1iZXI7Cglkb3VibGUgcmVzdWx0aW5nU2VxdWVuY2VbUkVTVUxUSU5HX1NFUVVFTkNFX1NJWkVdezB9OyAKICAgIC8vIFByb2Nlc3MgdW50aWwgdGhlIGVuZCBvZiB0aGUgaW5wdXQgc3RyZWFtCiAgICB3aGlsZSAoY2luID4+IGN1cnJlbnRNZW1iZXIpIHsKICAgIAkvLyBBY2N1bXVsYXRlIHRoZSBzdW0gb2Ygc3VpdGFibGUgZWxlbWVudHMgdG8gdGhlIGNvcnJlc3BvbmRpbmcgbWVtYmVyIG9mIHRoZSByZXN1bHRpbmcgc2VxdWVuY2UKICAgIAlpZiAoMSA8PSBjZWlsKGN1cnJlbnRNZW1iZXIpICYmIGNlaWwoY3VycmVudE1lbWJlcikgPD0gUkVTVUxUSU5HX1NFUVVFTkNFX1NJWkUpIHsKICAgIAkJcmVzdWx0aW5nU2VxdWVuY2VbKGludCljZWlsKGN1cnJlbnRNZW1iZXIpIC0gMV0gKz0gY3VycmVudE1lbWJlcjsgCiAgICAJfSAKICAgIH0gCiAgICAvLyBPdXRwdXQgdGhlIHNlcXVlbmNlCiAgICBmb3IgKGF1dG8gY3VycmVudE1lbWJlciA6IHJlc3VsdGluZ1NlcXVlbmNlKSB7CiAgICAJY291dCA8PCBjdXJyZW50TWVtYmVyIDw8ICIgIjsKICAgIH0gCglyZXR1cm4gMDsKfQ==