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