number of 1
sort to get min number
ugly number
the first not repeating char