from typing import Dict


def profit(info: Dict) -> int:
    """Calculate the profit from info."""
    profit_ = (info['sell_price'] - info['cost_price']) * info['inventory']
    return round(profit_)