2020-12-02 19:09:06 +01:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
|
|
|
import sys
|
|
|
|
import re
|
|
|
|
def fromNumber(m):
|
|
|
|
m = re.sub(r'0', 'a' , m.group(0))
|
|
|
|
m = re.sub(r'1', 'b' , m)
|
|
|
|
m = re.sub(r'2', 'c' , m)
|
|
|
|
m = re.sub(r'3', 'd' , m)
|
|
|
|
m = re.sub(r'4', 'e' , m)
|
|
|
|
m = re.sub(r'5', 'f' , m)
|
|
|
|
m = re.sub(r'6', 'g' , m)
|
|
|
|
m = re.sub(r'7', 'h' , m)
|
|
|
|
m = re.sub(r'8', 'i' , m)
|
|
|
|
m = re.sub(r'9', 'j' , m)
|
|
|
|
return str(m)
|
|
|
|
|
|
|
|
for line in sys.stdin.readlines():
|
|
|
|
temp=re.sub(r'\d{4}', fromNumber ,line)
|
2020-12-02 19:46:14 +01:00
|
|
|
print(temp.strip('\n'))
|