untitle

public
yousefkarem91 Sep 12, 2024 Never 90
Clone
C++ past.cpp 11 lines (11 loc) | 149 Bytes
1
#include <iostream>
2
using namespace std;
3
int main(){
4
int a,b;
5
cin>>a>>b;
6
int ans=a;
7
if(b<a) {
8
ans--;
9
}
10
cout<<ans;
11
}