#include <iostream>
using namespace std;
int main(){
int x, y, z, t, xy, xz, yz;
cin >> x >> y >> z;
t = x * y;
if (t > x*z) t = x * z;
if (t > y*z) t = y * z;
if (t > 100) t = 100;
cout << endl << t;
}