program name
    implicit none
    integer(4):: a,b,t
    integer(4):: i,cnt=0

    read*, a,b,t

    i=0
    do 
        i=i+1
        if(a*i > t+0.5) exit
        cnt=cnt+b
    end do

    print*, cnt
end program name