#include<stdio.h>
struct date{
	int day;
	int month;
	int year;
};
struct date get(void);
int main(){
	struct date today={0,0,0};
	today=get();
	printf("%d-%d-%d",today.year,today.month,today.day);
	return 0;
}
struct date get(void){
	struct date d;
	printf("请输入:");
	scanf("%d %d %d",&d.year,&d.month,&d.day);
	return (struct date)d;
}