#include int main(){ int n, j=0; scanf("%d", &n); while(n>0){ j++; int heights[100], avg, sum=0, i, moves=0, move, h; for(i=0; i