#include using namespace std; int main() { int y, m, d; scanf("%d/%d/%d", &y, &m, &d); struct tm t = { 0 }; t.tm_year = y - 1900; t.tm_mon = m - 1; t.tm_mday = d + 2; mktime(&t); printf("%04d/%02d/%02d\n", t.tm_year + 1900, t.tm_mon + 1, t.tm_mday); }