import strutils
var x = split readLine stdin
echo x[0].parseInt / 2