a=gets.to_f/2;puts [a.floor,a.ceil].join " "