from fractions import gcd from datetime import date, timedelta from heapq import* import math from collections import defaultdict, Counter import sys from bisect import * sys.setrecursionlimit(10 ** 7) MOD = 10 ** 9 + 7 def main(): a = list(map(int, input().split("/"))) d = date(a[0], a[1], a[2]) d = d + timedelta(days=2) print(d.strftime("%Y/%m/%d")) if __name__ == '__main__': main()