#include int main() { int n; std::cin >> n; std::cout << n + (n & 1) << '\n'; return 0; }