#include main(){int n;scanf("%d",&n);printf("%d",n/2*2);}