n=gets.to_i if n%2==0 p n/2 else p n end