#include using namespace std; int main(int argc, const char* argv[]) { int N; cin >> N; cout << N / 2 * 2 << endl; return 0; }