#include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin >> N; cout << N + (N % 2 == 0) << endl; return 0; }