/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
{
Scanner scan
= new Scanner
(System.
in); scan.forEachRemaining(a -> {
a.chars().forEach(ch -> {
sb.append(sb.length() % 4 == 3 ? "-" : "");
sb.
append(Character.
isDigit(ch
) ? (char)ch
:""); });
});
scan.close();
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVNjYW5uZXIgc2NhbiA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJc2Nhbi5mb3JFYWNoUmVtYWluaW5nKGEgLT4gewoJCQlTdHJpbmdCdWZmZXIgc2IgPSBuZXcgU3RyaW5nQnVmZmVyKCk7CgkJCWEuY2hhcnMoKS5mb3JFYWNoKGNoIC0+IHsKCQkJCXNiLmFwcGVuZChzYi5sZW5ndGgoKSAlIDQgPT0gMyA/ICItIiA6ICIiKTsKCQkJCXNiLmFwcGVuZChDaGFyYWN0ZXIuaXNEaWdpdChjaCkgPyAoY2hhciljaDoiIik7CgkJCX0pOwoJCQlTeXN0ZW0ub3V0LnByaW50bG4oc2IpOwoJCX0pOwoJCXNjYW4uY2xvc2UoKTsKCX0KfQ==