import scala.collection.mutable.ArrayBuffer

object Main extends App {
  val n = readInt
  val arr = ArrayBuffer(readLine.split(" "))
  val outBuf = ArrayBuffer.empty[String]
  var i = 0
  
  //for (num <- arr) {
   // i += 1
   // if ()
  //}
  println(arr)
}