import std.stdio;
import std.string;
import std.conv;
import std.algorithm;
import std.array;

void main() {
  auto s = readln.chomp.split.map!(to!int).array;

  if (s[0] * s[1] < s[2]) writeln(s[0] * s[1]);
  else s[2].writeln;
}