s,n,r=raw_input(),0,'' for c in s: i=ord(c) while n<>i: if ni:r+='-';n-=1 r+='.' print r