#include using namespace std; int main() { int A, B; cin >> A >> B; if (B > A) { int tmp = A; A = B; B = tmp; }; cout << B << endl; }