#include <stdio.h>
int main(void) {
int n,sum=0,score,i,min=100,max=0;
double average;
for(i=1;i<=n;i++){
sum=sum+score;
if(score>max)
max=score;
if(score<min)
min=score;
}
sum=sum-max-min;
average=sum*1.0/(n-2);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgbixzdW09MCxzY29yZSxpLG1pbj0xMDAsbWF4PTA7Cglkb3VibGUgYXZlcmFnZTsKCXNjYW5mKCIlZCIsJm4pOwoJZm9yKGk9MTtpPD1uO2krKyl7CgkJc2NhbmYoIiVkIiwmc2NvcmUpOwoJCXN1bT1zdW0rc2NvcmU7CgkJaWYoc2NvcmU+bWF4KQoJCSAgbWF4PXNjb3JlOwoJCWlmKHNjb3JlPG1pbikKCQkgIG1pbj1zY29yZTsKCX0KCXN1bT1zdW0tbWF4LW1pbjsKCWF2ZXJhZ2U9c3VtKjEuMC8obi0yKTsKCXByaW50ZigiJS4zbGYiLGF2ZXJhZ2UpOwoJcmV0dXJuIDA7Cn0K