private string Calc( string N, int S)
{
if (S <= 0 ) return N;
char c = N[ 0 ];
int j = 0 ;
for ( int i = 1 ; i < N . Length - 1 ; i ++ )
if (c > N[i])
return Calc(N . Remove(j, 1 ), S - 1 );
else if (c < N[i])
{
c = N[i];
j = i;
}
return N;
}