American usually use day-month-year, but Chinese often use year-month-day. Please write a program to transfer the date from American style to Chinese style.
#include<stdio.h>
int main()
{
int n,y,r;
scanf("%d-%d-%d",&y,&r,&n);
printf("%d-%02d-%02d",n,y,r);
return 0;
}