B. Internet Address
time limit per test
2 seconds
memory limit per test
256 megabytes
input
standard input
output
standard output
Vasya is an active Internet user. One day he came across an Internet resource he liked, so he wrote its address in the notebook. We know that the address of the written resource has format:
where:
- <protocol> can equal either "http" (without the quotes) or "ftp" (without the quotes),