import java.text.SimpleDateFormat; import java.util.*; class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { String s = sc.next(); int y = Integer.parseInt(s.substring(0,4)); int m = Integer.parseInt(s.substring(5,7)) - 1; int d = Integer.parseInt(s.substring(8,10)); Calendar cl = Calendar.getInstance(); cl.set(y, m, d); cl.add(Calendar.DATE, 2); SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd"); System.out.println(sdf.format(cl.getTime())); } }