case class F(c:Int,m:Int){ override def toString:String = s"$c $m"; } object Main{ val s = new java.util.Scanner(System.in) def main(args:Array[String]):Unit ={ println(0 to 100 map(_.toString) reduce (_ + _) charAt(s.nextInt)) } }