a=input()
x=""
for i in a:
    if((i>='a' and i<='z') or (i>='A' and i<='Z') or (i==" ")):
        x=x+i
print(x)

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: