object Main {
  val sc = new java.util.Scanner(System.in)

  def main(args: Array[String]): Unit = {
    val n = sc.nextInt / 10

    // for( i <- 1 until 10) {
    //   print(" "+i.toString)
    // }
    // println
    println(" 3 6 9 12 13 15 18 21 23 24 27 30")
  }
}