object Main extends App {

  import scala.io.StdIn._
  import scala.math._

  val Array(width, height, w, h, x, y) = readLine.trim.split(' ').map(_.toInt)
  println(y.toDouble / x.toDouble)
  implicit class Extension[T](val value :T){
    def also(func: T ⇒ Unit): T = {
      func(value)
      value
    }
    def let[R](func: T ⇒ R): R = func(value)
  }
}
