#include <iostream>
#include <vector>
#include <string.h>
#include<stdio.h>
using namespace std; 

int main(){
    int x,y; 
    scanf("%d-%d", &x, &y); 
    printf("%06d%07d", x, y);
}