Welcome   HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online
Home
FAQs
Problem Set
Practices
Online Contests
Major Exercises
OI Special
Judgement
Submit
Online Status
User Ranklist
Users
Register new
Login
Web Links
Hunan Normal University
College of Mathematics and Computer Science
Server
Time Limit: 1000ms, Special Time Limit:2500ms, Memory Limit:32768KB
Total submit users: 75, Accepted users: 75
Problem 10027 : No special judgement
Problem description
  

Users of computers frequently enter URLs (Uniform Resource Locators) in the form

    protocol://server.network

For example, in the URL

    http://www.monkey.donkey.zebra.com

the protocol is "http", the server is "www", and the network is "monkey.donkey.zebra.com". For purposes of this problem, the protocol and server are alphanumeric strings, whereas the network is an alphanumeric string that may also contain periods (however, the URL cannot end with a period or contain two consecutive periods).



Input
  Each line of the input contains a URL in the format specified above. No line will be longer than 80 characters. The input is terminated by end-of-file.

Output
  Each line of input will give rise to one line of output, consisting of the word "server", followed by a colon and one blank space, and the server from the corresponding line of input.

Sample Input
http://www.monkey.donkey.zebra.com
ftp://newton.cs.colorado.edu
Sample Output
server: www
server: newton
Problem Source
  HNU Contest 

Submit   Discuss   Judge Status  Problems  Ranklist 

HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online, Version 2010.5.5.final.
Web visits:357 today,10600191 total, since 2010-05-07