import java.util.Scanner; public class No192 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int ret=sc.nextInt(); System.out.println(ret+(ret%2==0?0:1)); } }