from typing import List


def div(n) -> List[int]:
    """Return divisors of ``n``"""
    result = list()
    for i in range(1, n + 1 // 2):
        if n % i == 0:
            result.append(i)
    result.append(n)

    return result