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