1152번: 단어의 개수 less than 1 minute read python words = input().split(' ') words = [word for word in words if word] print(len(words))