<jupyter_start><jupyter_text>https://www.hackerrank.com/challenges/py-introduction-to-sets/problem<jupyter_code>def average(array):
    return sum(set(array))/len(set(array))


if __name__ == '__main__':
    n = int(input())
    arr = list(map(int, input().split()))
    result = average(arr)
    print(result)<jupyter_output>10
161 182 161 154 176 170 167 171 170 174
169.375
{'fraction_non_alphanumeric': 0.15425531914893617, 'fraction_numerical': 0.10106382978723404, 'mean_word_length': 4.8, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '636349', 'license': 'MIT', 'n_tokens_mistral': 179, 'n_tokens_neox': 137, 'n_words': 26, 'path': '04 - Sets/01 - Introduction to Sets.ipynb', 'repo_name': 'naveen-kumar-123/Python-Challenges--HackerRank', 'size': '376'}