str1=input().strip() str2="".join((str1.split())) n=str1.count(" ") print(" "*n,end="") print(str2) /************************************************************** Problem: 1102 User: admin Language: Python Result: Accepted Time:199 ms Memory:34244 kb ****************************************************************/