#28160: 真python絕對對解題法


2006teng@gmail.com (不幸福的巡撫)


t=input()

print(t[0],'_'*(len(t)-2),t[-1],sep='')