require "date" y, m, d = gets.split('/').map(&:to_i) hoge = Date.new(y, m, d) hoge = hoge + 2 puts hoge.to_s.gsub!('-', '/')