#include
Void swap (int * a, int * b) {INT C = * a; * a = * b; * b = C;}
// Simple Select Sort Void SelectSort (int A [], int N) {INT I, J; for (j = n-1; j> -1; - j) {for (i = 0; i a [j]) swap (& a [i], & a [j]);}}}
INT main () {Int Num [[100]; INT N, I; SCANF ("% D", & n); for (i = 0; i