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