#include using namespace std; #define modulo 1000000007 #define mod(mod_x) ((((long long)mod_x+modulo))%modulo) #define Inf 1000000000 int main(){ int A,B; cin>>A>>B; if(A>B)swap(A,B); if(A==B){ cout<