Introduction 

Mr. Safety loves numeric locks and his Nokia 3310. He locked almost everything in his house. He is so smart and he doesn't need to remember the combinations. He has an algorithm to generate new passcodes on his Nokia cell phone. 


 Task 

Can you crack his numeric locks? Mr. Safety's treasures wait for you. Write an algorithm to open his numeric locks. Can you do it without his Nokia 3310? 

Input 

The `str` or `message` (Python) input string consists of lowercase and upercase characters. It's a real object that you want to unlock.

Output 
Return a string that only consists of digits.

Example
```
unlock("Nokia")  // => 66542
unlock("Valut")  // => 82588
unlock("toilet") // => 864538
```

Difficulty: EASY
Starter code: def unlock(message):
	

Solutions:
def unlock(message):
	return message.lower().translate(message.maketrans('abcdefghijklmnopqrstuvwxyz', '22233344455566677778889999'))


from string import ascii_lowercase as alc

def unlock(message):
	return message.lower().translate(str.maketrans(alc, '22233344455566677778889999'))


def unlock(message):
	return ''.join(('8' if i == 'v' else '7' if i == 's' else str(2 + min(7, (ord(i) - ord('a')) // 3)) for i in message.lower()))


table = str.maketrans('abcdefghijklmnopqrstuvwxyz', '22233344455566677778889999')

def unlock(message):
	return message.lower().translate(table)


strokes = {c: str(i) for (i, s) in enumerate(['abc', 'def', 'ghi', 'jkl', 'mno', 'pqrs', 'tuv', 'wxyz'], 2) for c in s}

def unlock(message):
	return ''.join(map(strokes.get, message.lower()))


TRANS = dict(zip('abcdefghijklmnopqrstuvwxyz', '22233344455566677778889999'))

def unlock(message):
	return ''.join((TRANS[c] for c in message.lower()))


unlock = lambda s: s.lower().translate(s.maketrans('abcdefghijklmnopqrstuvwxyz', '22233344455566677778889999'))


TABLE = str.maketrans('abcdefghijklmnopqrstuvwxyz', '22233344455566677778889999')

def unlock(message):
	return message.lower().translate(TABLE)


def unlock(message):
	a = {'abc': 2, 'def': 3, 'ghi': 4, 'jkl': 5, 'mno': 6, 'pqrs': 7, 'tuv': 8, 'wxyz': 9}
	return ''.join((str(a[y]) for x in message.lower() for y in a.keys() if x in y))