import scala.io.StdIn.readLine

object Main {

  def main(args:Array[String]) = {
    for(i<-1 to 9) {
      val s = readLine.split(" ")
      println(s(0) + " " + (s(1).toInt + s(2).toInt) + " " + (s(1).toInt*200 + s(2).toInt*300))
    }
  }
}