import re, sys, json
text = sys.stdin.read()
items = list(re.split(f"(https?://\S+?#t=\S+)", text))
print (json.dumps({'items': items}, indent=2))