Your task is to write an update for a lottery machine. Its current version produces a sequence of random letters and integers (passed as a string to the function). Your code must filter out all letters and return **unique** integers as a string, in their order of first appearance. If there are no integers in the string return `"One more run!"`

## Examples

```
"hPrBKWDH8yc6Lt5NQZWQ"  -->  "865"
"ynMAisVpHEqpqHBqTrwH"  -->  "One more run!"
"555"                   -->  "5"
```

Source: codewars | Difficulty: EASY
Tags: String algorithms

Fundamentals

Starter code: def lottery(s):
	

Solutions:
def lottery(s):
	return ''.join(dict.fromkeys(filter(str.isdigit, s))) or 'One more run!'


def lottery(s):
	result = ''
	for i in s:
		if i.isdigit() and i not in result:
			result += i
	return result or 'One more run!'


def lottery(s):
	cifers = ''
	for simbol in s:
		if simbol in '1234567890' and simbol not in cifers:
			cifers = cifers + str(simbol)
	return cifers if len(cifers) else 'One more run!'


def lottery(stg):
	return ''.join((c for c in sorted(set(stg), key=stg.index) if c.isdecimal())) or 'One more run!'


def lottery(s):
	return ''.join({i: 1 for i in s if i.isdigit()}) or 'One more run!'


def lottery(s):
	buffer = []
	for char in s:
		if char.isdigit() and char not in buffer:
			buffer.append(char)
	if buffer:
		return ''.join(buffer)
	else:
		return 'One more run!'


def lottery(s):
	re = ''.join((c for c in dict.fromkeys(s) if c in '0123456789'))
	return 'One more run!' if re == '' else re


def lottery(s):
	result = set()
	result_seen = result.add
	result = [char for char in s if char.isdigit() and (not (char in result or result_seen(char)))]
	return ''.join(result) if ''.join(result).isnumeric() else 'One more run!'


def lottery(s):
	seen = set()
	return ''.join((seen.add(a) or a for a in s if a.isdigit() and a not in seen)) or 'One more run!'


def lottery(s):
	seen = set()
	seen_add = seen.add
	seq = [i for i in s if i in '0123456789']
	return ''.join((x for x in seq if not (x in seen or seen_add(x)))) or 'One more run!'