import math


def round_down(x, near):
    """
    Round x to nearest number e.g. round_down(79, 5) gives 75
    Args:
        x: Number to round-down
        near: Number to which round-down to

    Returns:
        rounded up number

    """
    return int(math.ceil(x // near)) * near