One mole of 1,2-dibromobutane on treatment with X moles of NaNH2 followed by treatment with ethyl bromide gave a hexyne. The value of X is: