(print (ceiling (apply / (reverse (map string->number (string-split (read-line) " "))))))