object Solution {

  def main(args: Array[String]) {
    val t = readLine.toInt
    for (_ <- 1 to t) {
      val n = readLine.toInt
      println(1L * n / 2 * (n - n / 2))
    }
  }
}

Add solution to problem Halloween Party
Add solution to problem Halloween Party
