#include using namespace std; typedef long long ll; int main(){ ll N=0;cin>>N; if(N%2==0) N-=1; if(N>1) N+=1; cout<