a = gets.to_i if a % 2 == 0 puts a else puts a + 1 end