PROGRAMMING:Date format obsessive compulsive disorder
###Task description
Different people have different writing habits when filling in the date in the document. Many people are used to using decimal point or other characters as the separator. For example, "2002.01.07", "2002 / 1 / 7", "02:01:7" all indicate January 7, 2002. Zhao Zhongrui suffers from a strong date format obsessive-compulsive disorder. When he sees a date, he will rewrite it into a form like "2002-01-07". Next, please write a program to automatically rewrite the date in other formats to the date separated by "-".
###Input format:
Enter the year, month and day in one line in the format of "yyyy. Mm. DD" or "YY. Mm. DD". The title guarantees that the date given is the legal date since new year's Day 1900.
The year may be 4 or 2 digits. When the year is 2 digits, it is the 20th century by default. For example, "76 / 2 / 23" means "February 23, 1976".
The month and date may be two or one digit.
###Output format:
In one line, output the date in the format of "yyyy MM DD", in which the year is 4 digits, the month and date are 2 digits, and if there are not enough 2 digits, fill in with 0.
###Input sample 1:
```in
2002.1.7
```
###Output sample 1:
```out
2002-01-07
```
###Input sample 2:
```in
97.07.1
```
###Output sample 2:
```out
1997-07-01
```
answer:If there is no answer, please comment
Different people have different writing habits when filling in the date in the document. Many people are used to using decimal point or other characters as the separator. For example, "2002.01.07", "2002 / 1 / 7", "02:01:7" all indicate January 7, 2002. Zhao Zhongrui suffers from a strong date format obsessive-compulsive disorder. When he sees a date, he will rewrite it into a form like "2002-01-07". Next, please write a program to automatically rewrite the date in other formats to the date separated by "-".
###Input format:
Enter the year, month and day in one line in the format of "yyyy. Mm. DD" or "YY. Mm. DD". The title guarantees that the date given is the legal date since new year's Day 1900.
The year may be 4 or 2 digits. When the year is 2 digits, it is the 20th century by default. For example, "76 / 2 / 23" means "February 23, 1976".
The month and date may be two or one digit.
###Output format:
In one line, output the date in the format of "yyyy MM DD", in which the year is 4 digits, the month and date are 2 digits, and if there are not enough 2 digits, fill in with 0.
###Input sample 1:
```in
2002.1.7
```
###Output sample 1:
```out
2002-01-07
```
###Input sample 2:
```in
97.07.1
```
###Output sample 2:
```out
1997-07-01
```
answer:If there is no answer, please comment