#include<iostream> #include<cstdio> using namespace std; int main(){ int a,b,d; cin>>a>>b; if(a<b){ d=a; a=b; b=d; } cout<<a; return 0; }