import strutils let n = parseInt readLine stdin echo n.succ div 2