vizGlobal design#simple color#orange;

int n;
scanf(%d,n);
vizVar int a[n];
int k;
for (k=0,k<n,k=k+1) {
   scanf(%d,a[k]);
}
vizVar int i;
vizVar int j;
int pom;
 
vizFor (i=n-1, i>0, i=i-1) {
  vizFor (j=1, j<=i, j=j+1) {
     if (a[j-1]>a[j]) {
        pom = a[j-1];
        a[j-1] = a[j];
        a[j] = pom;
      }
    }
  }
}
###
7
7 6 5 4 3 2 1
