import java.util.Scanner;
import java.util.regex.Pattern;

public class Main {
	public static void main(String[] args) {
		// TODO Auto-generated method stub

		Scanner scanner = new Scanner(System.in);
		
		String inputS = scanner.nextLine();

		scanner.close();
		
		String[] split = inputS.split(" ");
		Integer inA = Integer.parseInt(split[0]);
		Integer inB = Integer.parseInt(split[1]);
		Integer inC = Integer.parseInt(split[2]);
		
		int result = 0;
		for(int c = 0; c < 20; c++) {
			int time = c + 1;
			
			if(time > inC) {
				break;
			}

			if(time % inA == 0) {
				result += inB;
			}
			
			
		}
		System.out.println(result);
	}
} import java.util.Scanner; Scanner java.util import java.util.regex.Pattern; Pattern java.util.regex public class Main {
	public static void main(String[] args) {
		// TODO Auto-generated method stub

		Scanner scanner = new Scanner(System.in);
		
		String inputS = scanner.nextLine();

		scanner.close();
		
		String[] split = inputS.split(" ");
		Integer inA = Integer.parseInt(split[0]);
		Integer inB = Integer.parseInt(split[1]);
		Integer inC = Integer.parseInt(split[2]);
		
		int result = 0;
		for(int c = 0; c < 20; c++) {
			int time = c + 1;
			
			if(time > inC) {
				break;
			}

			if(time % inA == 0) {
				result += inB;
			}
			
			
		}
		System.out.println(result);
	}
} Main public static void main(String[] args) {
		// TODO Auto-generated method stub

		Scanner scanner = new Scanner(System.in);
		
		String inputS = scanner.nextLine();

		scanner.close();
		
		String[] split = inputS.split(" ");
		Integer inA = Integer.parseInt(split[0]);
		Integer inB = Integer.parseInt(split[1]);
		Integer inC = Integer.parseInt(split[2]);
		
		int result = 0;
		for(int c = 0; c < 20; c++) {
			int time = c + 1;
			
			if(time > inC) {
				break;
			}

			if(time % inA == 0) {
				result += inB;
			}
			
			
		}
		System.out.println(result);
	} main {
		// TODO Auto-generated method stub

		Scanner scanner = new Scanner(System.in);
		
		String inputS = scanner.nextLine();

		scanner.close();
		
		String[] split = inputS.split(" ");
		Integer inA = Integer.parseInt(split[0]);
		Integer inB = Integer.parseInt(split[1]);
		Integer inC = Integer.parseInt(split[2]);
		
		int result = 0;
		for(int c = 0; c < 20; c++) {
			int time = c + 1;
			
			if(time > inC) {
				break;
			}

			if(time % inA == 0) {
				result += inB;
			}
			
			
		}
		System.out.println(result);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String inputS = scanner.nextLine(); inputS scanner.nextLine() scanner.nextLine scanner scanner.close() scanner.close scanner String[] split = inputS.split(" "); split inputS.split(" ") inputS.split inputS " " Integer inA = Integer.parseInt(split[0]); inA Integer.parseInt(split[0]) Integer.parseInt Integer split[0] split 0 Integer inB = Integer.parseInt(split[1]); inB Integer.parseInt(split[1]) Integer.parseInt Integer split[1] split 1 Integer inC = Integer.parseInt(split[2]); inC Integer.parseInt(split[2]) Integer.parseInt Integer split[2] split 2 int result = 0; result 0 for(int c = 0; c < 20; c++) {
			int time = c + 1;
			
			if(time > inC) {
				break;
			}

			if(time % inA == 0) {
				result += inB;
			}
			
			
		} int c = 0; int c = 0; c 0 c < 20 c 20 c++ c++ c {
			int time = c + 1;
			
			if(time > inC) {
				break;
			}

			if(time % inA == 0) {
				result += inB;
			}
			
			
		} {
			int time = c + 1;
			
			if(time > inC) {
				break;
			}

			if(time % inA == 0) {
				result += inB;
			}
			
			
		} int time = c + 1; time c + 1 c 1 if(time > inC) {
				break;
			} time > inC time inC {
				break;
			} break; if(time % inA == 0) {
				result += inB;
			} time % inA == 0 time % inA time inA 0 {
				result += inB;
			} result += inB result inB System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {
	public static void main(String[] args) {
		// TODO Auto-generated method stub

		Scanner scanner = new Scanner(System.in);
		
		String inputS = scanner.nextLine();

		scanner.close();
		
		String[] split = inputS.split(" ");
		Integer inA = Integer.parseInt(split[0]);
		Integer inB = Integer.parseInt(split[1]);
		Integer inC = Integer.parseInt(split[2]);
		
		int result = 0;
		for(int c = 0; c < 20; c++) {
			int time = c + 1;
			
			if(time > inC) {
				break;
			}

			if(time % inA == 0) {
				result += inB;
			}
			
			
		}
		System.out.println(result);
	}
} public class Main {
	public static void main(String[] args) {
		// TODO Auto-generated method stub

		Scanner scanner = new Scanner(System.in);
		
		String inputS = scanner.nextLine();

		scanner.close();
		
		String[] split = inputS.split(" ");
		Integer inA = Integer.parseInt(split[0]);
		Integer inB = Integer.parseInt(split[1]);
		Integer inC = Integer.parseInt(split[2]);
		
		int result = 0;
		for(int c = 0; c < 20; c++) {
			int time = c + 1;
			
			if(time > inC) {
				break;
			}

			if(time % inA == 0) {
				result += inB;
			}
			
			
		}
		System.out.println(result);
	}
} Main
import java.util.Scanner;
import java.util.regex.Pattern;

public class Main {
	public static void main(String[] args) {
		// TODO Auto-generated method stub

		Scanner scanner = new Scanner(System.in);
		
		String inputS = scanner.nextLine();

		scanner.close();
		
		String[] split = inputS.split(" ");
		Integer inA = Integer.parseInt(split[0]);
		Integer inB = Integer.parseInt(split[1]);
		Integer inC = Integer.parseInt(split[2]);
		
		int result = 0;
		for(int c = 0; c < 20; c++) {
			int time = c + 1;
			
			if(time > inC) {
				break;
			}

			if(time % inA == 0) {
				result += inB;
			}
			
			
		}
		System.out.println(result);
	}
}