def molarity_to_normality(nfactor: int, moles: float, volume: float) -> float:
    """
    Convert molarity to normality.
    Volume is taken in litres.

    Wikipedia reference: https://en.wikipedia.org/wiki/Equivalent_concentration
    Wikipedia reference: https://en.wikipedia.org/wiki/Molar_concentration
    """
    return round(moles / volume * nfactor)