#include <stdio.h>
#include <time.h>
int main() {
time_t currentTime = time(NULL);
struct tm* localTime = localtime(¤tTime);
printf("%04d-%02d-%02d\n", localTime->tm_year + 1900, localTime->tm_mon + 1, localTime->tm_mday);
return 0;
}