require 'date' y,m,d = gets.split('/').map &:to_i d = Date.new(y,m,d) puts (d+2).strftime('%Y/%m/%d')