def getword(iw, line):
    """
    return n-th word from string

    :param iw:
    :param str line:
    :return str:
    """
    words = line.split()
    if iw < len(words):
        return words[iw]
    else:
        return ''