// yukicoder My Practice // authoer: Leonardone @ NEETSDKASU object Main extends App { val n = scala.io.StdIn.readLine().toLong if (n % 2 == 0) { println(n / 2) } else { println(n) } }