import std.array, std.stdio, std.string, std.algorithm, std.conv; void main() { int N = readln.strip.to!int; if (N % 2 == 0) writeln(N); else writeln(N + 1); }