#include <stdio.h>
int main(void) {
int vet[10];
int aux;
for(int i = 0; i < 10; i++) {
}
for(int i = 0; i < 10; i++) {
for (int j = i + 1; j < 10; j++) {
if(vet[i] > vet[j]) {
aux = vet[i];
vet[i] = vet[j];
vet[j] = aux;
}
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgdmV0WzEwXTsKCWludCBhdXg7CiAgICBmb3IoaW50IGkgPSAwOyBpIDwgMTA7IGkrKykgewogICAgICAgIHNjYW5mKCIlaSIsICZ2ZXRbaV0pOwogICAgfQoKICAgIGZvcihpbnQgaSA9IDA7IGkgPCAxMDsgaSsrKSB7CiAgICAJZm9yIChpbnQgaiA9IGkgKyAxOyBqIDwgMTA7IGorKykgeyAKICAgICAgICAgICAgaWYodmV0W2ldID4gdmV0W2pdKSB7CiAgICAgICAgICAgICAgICBhdXggPSB2ZXRbaV07CiAgICAgICAgICAgICAgICB2ZXRbaV0gPSB2ZXRbal07CiAgICAgICAgICAgICAgICB2ZXRbal0gPSBhdXg7CiAgICAgICAgICAgIH0KICAgIAl9CiAgICAgICAgcHJpbnRmKCIlaSIsIHZldFtpXSk7CiAgICB9CglyZXR1cm4gMDsKfQo=