distinct terms in given sequence
only use set

Conflicts:
	problem_0029.py