import math


def comb(n,k):
    """Return the number of ways to choose k items from n items without
    repetition and without order.

    """
    return math.factorial(n) / (math.factorial(k) * math.factorial(n-k))