import sequtils, strutils let t = stdin.readLine.split.map parseInt l: array[3, int] = [t[0], t[1] div t[2], t[3]] echo l.min