#include #include #include #include #include #include #include using namespace std; int main(){ int hush[104]; int n,num,x,sum,k; while(~scanf("%d",&n)&&n>0){ memset(hush,0,sizeof(hush)); num=sum=0; for(int i=0;i