require "date" D = Date.new(*gets.chomp.split("/").map(&:to_i)) puts (D + 2).strftime("%Y/%m/%d")