import java.util.*; public class Run { public static void main (String arg[]) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); int ans = N; if (N%2==1) ans++; System.out.println(ans); } }