Jabber ID national Berland service Babber form usernamehostnameresource username sequence Latin letter lowercase uppercase digit underscore character _ length username 1 16 inclusive hostname sequence word separate period character word contain character allow username length word 1 16 inclusive the length hostname 1 32 inclusive resource sequence Latin letter lowercase uppercase digit underscore character _ length resource 1 16 inclusive the content square brackets optional present absentThere sample correct Jabber IDs mikecodeforcescom 007encodeforcescomcontestyour task write program check give string correct Jabber ID