#35996: python 新手範例程式碼


712045@st.lths.tc.edu.tw (程式餓靈)


def main():
    n=input()
    print(n[0]+('_'*(len(n)-2))+n[len(n)-1])
    
main()