#include <iostream> #include <cmath> #include <cstdio> using namespace std; int main() { double i,b; cin>>i>>b; cout<<min(i,b)<<endl; return 0; }