#include int main(void) { int N; scanf("%d", &N); if (N % 2) printf("%d\n", N+1); else printf("%d\n", N); return 0; }