import java.util.*;
import java.lang.*;
import java.io.*;
class Main
{
{
Scanner in
= new Scanner
(System.
in); String substr
= s.
substring(0,
3); if (!substr.equals(dots) && !s.substring(0, 1).equals(ellipsis)) {
s = s.replace(dots, substr);
s = s.replace(ellipsis, substr);
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBNYWluCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVNjYW5uZXIgaW4gPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwoJCVN0cmluZyBzID0gaW4ubmV4dExpbmUoKTsKCQlTdHJpbmcgc3Vic3RyID0gcy5zdWJzdHJpbmcoMCwgMyk7CgkJU3RyaW5nIGRvdHMgPSAiLi4uIjsKCQlTdHJpbmcgZWxsaXBzaXMgPSAi4oCmIjsKCQlpZiAoIXN1YnN0ci5lcXVhbHMoZG90cykgJiYgIXMuc3Vic3RyaW5nKDAsIDEpLmVxdWFscyhlbGxpcHNpcykpIHsKCQkJcyA9IHMucmVwbGFjZShkb3RzLCBzdWJzdHIpOwoJCQlzID0gcy5yZXBsYWNlKGVsbGlwc2lzLCBzdWJzdHIpOwoJCX0KCVN5c3RlbS5vdXQucHJpbnQocyk7Cgl9Cn0=