#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void test()
{
int i;
for (i = 0; i < 50; i++) {
}
}
int main()
{
FILE* p;
double d[50], t;
int n, i, j;
// p = fopen("double.txt", "rt");
p = stdin;
if (p == NULL) {
return 1;
}
for (i = 0; i < n; i++) {
}
// fclose(p);
for (i = 0; i < n-1; i++) {
for (j = 0; j < n-1-i; j++) {
if (d[j] > d[j+1]) {
t = d[j];
d[j] = d[j+1];
d[j+1] = t;
}
}
}
// p = fopen("sort.txt", "wt");
p = stdout;
for (i = 0; i < n; i++) {
}
// fclose(p);
return 0;
}
I2RlZmluZSBfQ1JUX1NFQ1VSRV9OT19XQVJOSU5HUwojaW5jbHVkZSA8c3RkaW8uaD4KCiNpbmNsdWRlIDxzdGRsaWIuaD4KI2luY2x1ZGUgPHRpbWUuaD4Kdm9pZCB0ZXN0KCkKewoJaW50CWk7CgoJc3JhbmQoKHVuc2lnbmVkKXRpbWUoTlVMTCkpOwoJZm9yIChpID0gMDsgaSA8IDUwOyBpKyspIHsKCQlwcmludGYoIiVmXG4iLCAoZG91YmxlKXJhbmQoKSAqIHJhbmQoKSAvIFJBTkRfTUFYKTsKCX0KfQoKaW50IG1haW4oKQp7CglGSUxFKglwOwoJZG91YmxlCWRbNTBdLCB0OwoJaW50CW4sIGksIGo7CgoJc2NhbmYoIiVkIiwgJm4pOwoKLy8JcCA9IGZvcGVuKCJkb3VibGUudHh0IiwgInJ0Iik7CglwID0gc3RkaW47CglpZiAocCA9PSBOVUxMKSB7CgkJcmV0dXJuIDE7Cgl9Cglmb3IgKGkgPSAwOyBpIDwgbjsgaSsrKSB7CgkJZnNjYW5mKHAsICIlbGYiLCAmZFtpXSk7Cgl9Ci8vCWZjbG9zZShwKTsKCglmb3IgKGkgPSAwOyBpIDwgbi0xOyBpKyspIHsKCQlmb3IgKGogPSAwOyBqIDwgbi0xLWk7IGorKykgewoJCQlpZiAoZFtqXSA+IGRbaisxXSkgewoJCQk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