import scala.io.StdIn

object Main extends App {
  val Array(n, a, b, c, d) = StdIn.readLine().split(" ").map(_.toInt)
  val S  = StdIn.readLine()

  def solve(s : String, a: Int, b: Int, c: Int, d: Int ): String = {
    val s1 = s.slice(a, c)
    val s2 = s.slice(b, d)
    val s3 = s.slice(a, d)    

  "No"
  }

  println(solve(S, a, b, c, d))
}
  

