contract MINECOIN is ERC20, Ownable {
    constructor ()
    public
    ERC20 ("MINE COIN", "MEC", 18) {
        _mint(msg.sender, 1000000000e18);
    }
    
    /**
     @dev Creates `_amount` token to `_to`. Must only be called by the owner
     */
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }
    
    /**
     @dev Burn `_amount` token to `_to`. Must only be called by the owner
     */
    function burn(address _to, uint256 _amount) public onlyOwner {
        _burn(_to, _amount);
    }

}
function mint(address _to, uint256 _amount) public onlyOwner {
    _mint(_to, _amount);
}

/**
 @dev Creates `_amount` token to `_to`. Must only be called by the owner
 */