import algorithm, sequtils, strformat, strutils, math var s = stdin.readLine.split.map parseInt s.sort var sumV = s[1..4].sum echo &"{sumV / 4 :.2f}"