https://www.acmicpc.net/problem/1152
S=list(input().split()) print(len(S))
입력받은 문자열을 띄어쓰기로 나누어 리스트에 넣어주고 그 리스트의 길이를 출력한다.