# 新学span() 函数使用方法
import sys
import re 

# 输入数据
text = input()

# 正则匹配
lent = re.match('https://www', text).span()
print(lent)