import math


def pick(n, k):
    """
    Return the number of ways to select k objects from n objects with order
    :param n: int
    :param k: int
    :return: int
    >>> pick(1, 0)
    1
    >>> pick(1, 2)
    0
    >>> pick(5, 2)
    20
    """
    return math.factorial(n) // math.factorial(n - k) if n >= k else 0