#include #define rep(i,a,b) for(int i=a;i<(b);++i) #define erep(i,a,b) for(int i=a;i<=(int)(b);++i) #define per(i,a,b) for(int i=(a);i>(b);--i) #define eper(i,a,b) for(int i=(a);i>=b;--i) #define pb push_back #define mp make_pair #define INF (1<<30)-1 #define MOD 1000000007 #define all(x) (x).begin(),(x).end() #define vii vector #define vll vector using namespace std; typedef long long ll; typedef pair Pii; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> today; int yy, mm, dd; yy = stoi(today.substr(0, 4)); mm = stoi(today.substr(5, 2)); dd = stoi(today.substr(8, 2)); dd+=2; bool flag = true; int day[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; if ((yy % 4 == 0) ^ (yy % 100 == 0) ^ (yy % 400 == 0)) { if (mm == 2 && dd > 29) { mm++, dd -= 29; } else if (mm == 2 && dd == 29) flag = false; } rep(i, 0, 12) { if (flag && mm == i+1 && day[i] < dd) { mm++, dd -= day[i]; break; } } if (mm > 12) mm -= 12, yy++; string ans = to_string(yy); ans += "/"; if (mm < 10) ans += "0" + to_string(mm); else ans += to_string(mm); ans += "/"; if (dd < 10) ans += "0" + to_string(dd); else ans += to_string(dd); cout << ans << endl; return 0; }