N = gets.to_i if N.odd? puts N else puts N + 1 end