for(j in s=readline())for(x=i=0;i<8||putstr(String.fromCharCode(x));)x+=(s.charCodeAt(j)>>i&1)<<7-i++