import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone
{
public static void solve
(Scanner sc,
PrintStream out
) { sc.forEachRemaining(line -> {
StringBuilder sb = new StringBuilder();
line.chars().forEach(c -> {
if (!isDigit(c)) return;
int L = sb.length();
if (L > 3 && L % 4 == 0) sb.insert(L - 1, '-');
sb.append((char) c);
});
int L = sb.length();
if (L > 3 && L % 4 == 0) sb.insert(L - 2, '-');
out.println(sb);
});
}
{
Scanner sc
= new Scanner
(System.
in); sc.useDelimiter("\\n");
sc.close();
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgppbXBvcnQgc3RhdGljIGphdmEubGFuZy5DaGFyYWN0ZXIuaXNEaWdpdDsKCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgc29sdmUoU2Nhbm5lciBzYywgUHJpbnRTdHJlYW0gb3V0KSB7CgkJc2MuZm9yRWFjaFJlbWFpbmluZyhsaW5lIC0+IHsKCQkJU3RyaW5nQnVpbGRlciBzYiA9IG5ldyBTdHJpbmdCdWlsZGVyKCk7CgkJCQoJCQlsaW5lLmNoYXJzKCkuZm9yRWFjaChjIC0+IHsKCQkJCWlmICghaXNEaWdpdChjKSkgcmV0dXJuOwoJCQkJaW50IEwgPSBzYi5sZW5ndGgoKTsKCQkJCWlmIChMID4gMyAmJiBMICUgNCA9PSAwKSBzYi5pbnNlcnQoTCAtIDEsICctJyk7CgkJCQlzYi5hcHBlbmQoKGNoYXIpIGMpOwoJCQl9KTsKCQkJCgkJCWludCBMID0gc2IubGVuZ3RoKCk7CgkJCWlmIChMID4gMyAmJiBMICUgNCA9PSAwKSBzYi5pbnNlcnQoTCAtIDIsICctJyk7CgkJCQoJCQlvdXQucHJpbnRsbihzYik7CgkJfSk7Cgl9CgkKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5n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jI0Z2Y5ODZnOTU4Mmc1ODlmZzI5OGc5NDhmNTg0OTVmMjg5NmY5ODI4OWYyZzk4NHIzOTg0cjIzODk3cjM5ODRncjI5ODM0Zzk4MjRnODk0ZzU4ZjQ4OTU3ZWdzdWdzODlkN2d5ODllN3Q4OTM3NXl0OTg3NDU5Zjg1OTg0NTk4MjU4OWYyNGdmOTg2Zzk1ODJnNTg5ZmcyOThnOTQ4ZjU4NDk1ZjI4OTZmOTgyODlmMmc5ODRyMzk4NHIyMzg5N3IzOTg0Z3IyOTgzNGc5ODI0Zzg5NGc1OGY0ODk1N2Vnc3Vnczg5ZDdneTg5ZTd0ODkzNzV5dDk4NzQ1OWY4NTk4NDU5ODI1ODlmMjRnZjk4Nmc5NTgyZzU4OWZnMjk4Zzk0OGY1ODQ5NWYyODk2Zjk4Mjg5ZjJnOTg0cjM5ODRyMjM4OTdyMzk4NGdyMjk4MzRnOTgyNGc4OTRnNThmNDg5NTdlZ3N1Z3M4OWQ3Z3k4OWU3dDg5Mzc1eXQ5ODc0NTlmODU5ODQ1OTgyNTg5ZjI0Z2Y5ODZnOTU4Mmc1ODlmZzI5OGc5NDhmNTg0OTVmMjg5NmY5ODI4OWYyZzk4NHIzOTg0cnNkZnNkZjI=
1
12
123
1234
12345
123TOP45KEK6
1234567
12-34-56-78
123456789FUCK YOU
9 - 33 2176--856
23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984r23897r3984gr29834g9824g894g58f48957egsugs89d7gy89e7t89375yt987459f859845982589f24gf986g9582g589fg298g948f58495f2896f98289f2g984r3984rsdfsdf2