占领四楼!!!!
//天柱折,地维绝,乃敢与君绝
#include<iostream>
#include<cstdio>
using namespace std;
int (){
int mountain,sky,friendship=max,i1,i2;
cin>>mountain>>sky;
for(i1=friendship;i1>0;--i1){
for(i2=sky;i2>0;--i2){
if(i1==0&&i2==0) friendship=0;
}
}
cout<<friendship;
}