def manhattan(p, q):
    """Return Manhattan distance between two points

    :p: 2-tuple
    :q: 2-tuple
    :returns: Manhattan distance between p and q"""

    return int(abs(p[0] - q[0]) + abs(p[1] - q[1]))