#include #include using namespace std; char c; int main(){ c = getchar(); printf("%c", c); while(1){ c = getchar(); if(isdigit(c)) printf("-%c", c); else break; } return 0; }