convert n to characters in s