import java.util.*; import java.text.SimpleDateFormat; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); String input = sc.nextLine(); String[] inputArr = input.split("/"); Calendar cal = Calendar.getInstance(); cal.set(Integer.parseInt(inputArr[0]), Integer.parseInt(inputArr[1])-1, Integer.parseInt(inputArr[2]) + 2); SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd"); System.out.println(sdf.format(cal.getTime())); } }