#23793: _ans


ce5324 (伃)


#include <iostream> 
using namespace std;
int main()
{
	int n;
	while(cin>>n)
if((n%2)==1){
cout<<n-1<<endl;}
else{
cout<<n<<endl;}
return 0;
}