write int