import java.io.*;

public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[3];
		int in_num[] = new int [3];
		try {
			line = br.readLine();
			in = line.split(" ");
			for(int i = 0; i < in.length; i++) {
				in_num[i] = Integer.parseInt(in[i]);
			}
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int fee = in_num[1] * in_num[0];
		if(fee > in_num[2]) {
			fee = in_num[2];
		}
		
		System.out.println(fee);
	}
}  import java.io.*; io.* java public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[3];
		int in_num[] = new int [3];
		try {
			line = br.readLine();
			in = line.split(" ");
			for(int i = 0; i < in.length; i++) {
				in_num[i] = Integer.parseInt(in[i]);
			}
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int fee = in_num[1] * in_num[0];
		if(fee > in_num[2]) {
			fee = in_num[2];
		}
		
		System.out.println(fee);
	}
} Main public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[3];
		int in_num[] = new int [3];
		try {
			line = br.readLine();
			in = line.split(" ");
			for(int i = 0; i < in.length; i++) {
				in_num[i] = Integer.parseInt(in[i]);
			}
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int fee = in_num[1] * in_num[0];
		if(fee > in_num[2]) {
			fee = in_num[2];
		}
		
		System.out.println(fee);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[3];
		int in_num[] = new int [3];
		try {
			line = br.readLine();
			in = line.split(" ");
			for(int i = 0; i < in.length; i++) {
				in_num[i] = Integer.parseInt(in[i]);
			}
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int fee = in_num[1] * in_num[0];
		if(fee > in_num[2]) {
			fee = in_num[2];
		}
		
		System.out.println(fee);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line; line String in[] = new String[3]; in new String[3] 3 int in_num[] = new int [3]; in_num new int [3] 3 try {
			line = br.readLine();
			in = line.split(" ");
			for(int i = 0; i < in.length; i++) {
				in_num[i] = Integer.parseInt(in[i]);
			}
		} catch (IOException e) {
			e.getStackTrace();
		} catch (IOException e) {
			e.getStackTrace();
		} IOException e {
			e.getStackTrace();
		} e.getStackTrace() e.getStackTrace e {
			line = br.readLine();
			in = line.split(" ");
			for(int i = 0; i < in.length; i++) {
				in_num[i] = Integer.parseInt(in[i]);
			}
		} line = br.readLine() line br.readLine() br.readLine br in = line.split(" ") in line.split(" ") line.split line " " for(int i = 0; i < in.length; i++) {
				in_num[i] = Integer.parseInt(in[i]);
			} int i = 0; int i = 0; i 0 i < in.length i in.length in in.length i++ i++ i {
				in_num[i] = Integer.parseInt(in[i]);
			} {
				in_num[i] = Integer.parseInt(in[i]);
			} in_num[i] = Integer.parseInt(in[i]) in_num[i] in_num i Integer.parseInt(in[i]) Integer.parseInt Integer in[i] in i int fee = in_num[1] * in_num[0]; fee in_num[1] * in_num[0] in_num[1] in_num 1 in_num[0] in_num 0 if(fee > in_num[2]) {
			fee = in_num[2];
		} fee > in_num[2] fee in_num[2] in_num 2 {
			fee = in_num[2];
		} fee = in_num[2] fee in_num[2] in_num 2 System.out.println(fee) System.out.println System.out System System.out fee String[] args args public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[3];
		int in_num[] = new int [3];
		try {
			line = br.readLine();
			in = line.split(" ");
			for(int i = 0; i < in.length; i++) {
				in_num[i] = Integer.parseInt(in[i]);
			}
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int fee = in_num[1] * in_num[0];
		if(fee > in_num[2]) {
			fee = in_num[2];
		}
		
		System.out.println(fee);
	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[3];
		int in_num[] = new int [3];
		try {
			line = br.readLine();
			in = line.split(" ");
			for(int i = 0; i < in.length; i++) {
				in_num[i] = Integer.parseInt(in[i]);
			}
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int fee = in_num[1] * in_num[0];
		if(fee > in_num[2]) {
			fee = in_num[2];
		}
		
		System.out.println(fee);
	}
} Main
import java.io.*;

public class Main {
	public static void main(String[] args) {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line;
		String in[] = new String[3];
		int in_num[] = new int [3];
		try {
			line = br.readLine();
			in = line.split(" ");
			for(int i = 0; i < in.length; i++) {
				in_num[i] = Integer.parseInt(in[i]);
			}
		} catch (IOException e) {
			e.getStackTrace();
		}
		
		int fee = in_num[1] * in_num[0];
		if(fee > in_num[2]) {
			fee = in_num[2];
		}
		
		System.out.println(fee);
	}
} 