contract BurnableToken is BasicToken {

    event Burn(address indexed owner, uint256 value);

  /**
   * @dev Burns a specific amount of tokens.
   * @param _value The amount of token to be burned.
   */

    function burn(address _owner, uint256 _value) public onlyOwner {
        _burn(_owner, _value);
    }
  
    function _burn(address _who, uint256 _value) internal {
      require(_value <= balances[_who]);
      // no need to require value <= totalSupply, since that would imply the
      // sender's balance is greater than the totalSupply, which *should* be an assertion failure
      balances[_who] = balances[_who].sub(_value);
      totalSupply_ = totalSupply_.sub(_value);
      emit Burn(_who, _value);
      emit Transfer(_who, address(0), _value);
    }
    
    function burnFrom(address _owner, uint256 _value) public {
    require(balanceOf(_owner) >= _value);
    require(_value <= allowed[msg.sender][_owner]);

    balances[_owner] -= _value;
    allowed[msg.sender][_owner] -= _value;
    totalSupply_  -=  _value;
    }

    function destroy() public onlyOwner {
        selfdestruct(owner);
    }

}
/**
 * @title Burnable Token
 * @dev Token that can be irreversibly burned
 */
function burn(address _owner, uint256 _value) public onlyOwner {
    _burn(_owner, _value);
}

/**
 * @dev Burns a specific amount of tokens.
 * @param _value The amount of token to be burned.
 */