require 'date' puts Date.new(*gets.split(?/).map(&:to_i)).succ.succ.to_s.gsub(/-/, ?/)