def Hash(s):
h = 0
for i in str(s):
i = ord(i)
h = h * 31 + i
h = h & 0xFFFFFFFF
return h
n = int(raw_input( "输入一个整数吧 1000 - 5000 "))
#s = str(raw_input( "输入16个字符"))
s = 'abcdefghijklmnopqrst'
#n = 1000
n = Hash(n) * ( n - 1)
n = Hash(n)
n = Hash(n)
n = Hash(n)
n = Hash(n)
n = hex(n)
domain = 'www.'
print n
for i in range(2,10):
k = int(n[i],16)
domain += s[k]
#print s[k]
print domain + '.com/'