open Batteries

let (ga, gb, gt) = match (List.map int_of_string (String.split_on_char ' ' (read_line()))) with
    [ga; gb; gt] -> (ga, gb, gt)
  | _ -> (0, 0, 0)

let calc = (gt / ga) * gb
                         
let answer = string_of_int calc

let () = print_endline answer