#include using namespace std; int main(){ double a,b;cin >> a >> b; cout << setprecision(30) << fixed << min(a, b) << endl; return 0; }