students=input().split()
print(tuple((students))[:3])
和列表切片一样。注意创建元组要用双括号。