import scala.io.StdIn object Problem249 { def main(args: Array[String]) { for (i <- 1 to 1000) StdIn.readLine() println(500) } }