write ReverseNumber