#include using namespace std; typedef long long LL; int main(int argc, char* argv[]) { LL L,R,M,i; cin>>L>>R>>M; if (L==R){ cout<<1<