include iostream using namespace std int main int cin if cout endl els

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#include <iostream>
using namespace std;
int main() {
int r,R;
cin >> R >> r;
if (R == 2 || r > R) {
cout << "2" << endl;}
else {
cout << "1" << endl;}
return 0;
}