writing long numbers (extension)