var
S: string;
Begin
S:='dfds fds :12345 fdfs';
S:=copy(S,pos(':',S)+1,length(S));
if pos(':',S)<>0 then
S:=copy(S,1,pos(':',S)-1);
writeln(S);
End.
var
S: string;
Begin
S:='dfds fds :12345 fdfs';
S:=copy(S,pos(':',S)+1,length(S));
if pos(':',S)<>0 then
S:=copy(S,1,pos(':',S)-1);
writeln(S);
End.