#include using namespace std; int main() { string S; cin >> S; int y, m, d; sscanf( S.c_str(), "%d/%d/%d", &y, &m, &d ); struct tm tm = { 0, 0, 0, d, m - 1, y - 1900 }; time_t time = mktime( &tm ) + 60 * 60 * 24 * 2; struct tm *ltime = localtime( &time ); char ans[16]; sprintf( ans, "%04d/%02d/%02d", ltime->tm_year + 1900, ltime->tm_mon + 1, ltime->tm_mday ); cout << ans << endl; }