#include #include #include #include #include #include #include #include #include #include #include #include #include #include #define INF 1000000000 #define LINF 9000000000000000000 #define mod 1000000007 #define rep(i,n) for(int i=0;i=0;i--) #define REP(i,a,b) for(int i=(a);i vi; typedef pair pi; int dx[4]={1,0,-1,0}; int dy[4]={0,1,0,-1}; bool debug=false; /*---------------------------------------------------*/ int main(){ int n,m; cin>>n>>m; if(n==m)cout<<1<=n/2)cout<<2<n/2+1)cout<<2<