```python
def long_words(n, str):
    """
    Shortlists words that are longer than n from a given list of words.
    """
    word_list = str.split()
    result_list = []
    for word in word_list:
        if len(word) > n:
            result_list.append(word)
    return result_list

```