year,week,holiday=gets.split.map(&:to_f) puts [(year/week)*holiday,year].min