import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();//3
        int box = a;
        int b = sc.nextInt();//5
        double t = sc.nextInt();//7
        int count = 1;
        int c = a;
        t += 0.5;//t=8
        ArrayList<Integer> time = new ArrayList<>();
        while(count <= 20){//3,6,9,...
            time.add(c);//
            ++count;
            c = a * count;
        }//time=3,6
        int countTime = 0;

        for(int x : time){//3>7F,6>7F,9>7T,
            if(x > t){
                break;
            }else{
                ++countTime;
            }
        }
        if(a < t){
            System.out.println(countTime * b);
        }else{
            System.out.println(0);
        }
    }
} import java.util.*; util.* java class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();//3
        int box = a;
        int b = sc.nextInt();//5
        double t = sc.nextInt();//7
        int count = 1;
        int c = a;
        t += 0.5;//t=8
        ArrayList<Integer> time = new ArrayList<>();
        while(count <= 20){//3,6,9,...
            time.add(c);//
            ++count;
            c = a * count;
        }//time=3,6
        int countTime = 0;

        for(int x : time){//3>7F,6>7F,9>7T,
            if(x > t){
                break;
            }else{
                ++countTime;
            }
        }
        if(a < t){
            System.out.println(countTime * b);
        }else{
            System.out.println(0);
        }
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();//3
        int box = a;
        int b = sc.nextInt();//5
        double t = sc.nextInt();//7
        int count = 1;
        int c = a;
        t += 0.5;//t=8
        ArrayList<Integer> time = new ArrayList<>();
        while(count <= 20){//3,6,9,...
            time.add(c);//
            ++count;
            c = a * count;
        }//time=3,6
        int countTime = 0;

        for(int x : time){//3>7F,6>7F,9>7T,
            if(x > t){
                break;
            }else{
                ++countTime;
            }
        }
        if(a < t){
            System.out.println(countTime * b);
        }else{
            System.out.println(0);
        }
    } main {
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();//3
        int box = a;
        int b = sc.nextInt();//5
        double t = sc.nextInt();//7
        int count = 1;
        int c = a;
        t += 0.5;//t=8
        ArrayList<Integer> time = new ArrayList<>();
        while(count <= 20){//3,6,9,...
            time.add(c);//
            ++count;
            c = a * count;
        }//time=3,6
        int countTime = 0;

        for(int x : time){//3>7F,6>7F,9>7T,
            if(x > t){
                break;
            }else{
                ++countTime;
            }
        }
        if(a < t){
            System.out.println(countTime * b);
        }else{
            System.out.println(0);
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc int box = a; box a int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc double t = sc.nextInt(); t sc.nextInt() sc.nextInt sc int count = 1; count 1 int c = a; c a t += 0.5 t 0.5 ArrayList<Integer> time = new ArrayList<>(); time new ArrayList<>() while(count <= 20){//3,6,9,...
            time.add(c);//
            ++count;
            c = a * count;
        }//time=3,6 count <= 20 count 20 {//3,6,9,...
            time.add(c);//
            ++count;
            c = a * count;
        } time.add(c) time.add time c ++count count c = a * count c a * count a count int countTime = 0; countTime 0 for(int x : time){//3>7F,6>7F,9>7T,
            if(x > t){
                break;
            }else{
                ++countTime;
            }
        } int x time {//3>7F,6>7F,9>7T,
            if(x > t){
                break;
            }else{
                ++countTime;
            }
        } {//3>7F,6>7F,9>7T,
            if(x > t){
                break;
            }else{
                ++countTime;
            }
        } if(x > t){
                break;
            }else{
                ++countTime;
            } x > t x t {
                break;
            } break; {
                ++countTime;
            } ++countTime countTime if(a < t){
            System.out.println(countTime * b);
        }else{
            System.out.println(0);
        } a < t a t {
            System.out.println(countTime * b);
        } System.out.println(countTime * b) System.out.println System.out System System.out countTime * b countTime b {
            System.out.println(0);
        } System.out.println(0) System.out.println System.out System System.out 0 String[] args args
import java.util.*;

class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();//3
        int box = a;
        int b = sc.nextInt();//5
        double t = sc.nextInt();//7
        int count = 1;
        int c = a;
        t += 0.5;//t=8
        ArrayList<Integer> time = new ArrayList<>();
        while(count <= 20){//3,6,9,...
            time.add(c);//
            ++count;
            c = a * count;
        }//time=3,6
        int countTime = 0;

        for(int x : time){//3>7F,6>7F,9>7T,
            if(x > t){
                break;
            }else{
                ++countTime;
            }
        }
        if(a < t){
            System.out.println(countTime * b);
        }else{
            System.out.println(0);
        }
    }
}