#!/usr/bin/env python3 #! -*- coding: utf-8 -*- import math def main(): a_number = int(input()) print(math.ceil(a_number / 2)) if __name__ == '__main__': import sys sys.exit(main())