import strutils let N = stdin.readLine.parseInt if N mod 2 != 0: echo N else: echo N div 2