A. 【例17.1】 双面打印

    Type: Default 1000ms 64MiB

【例17.1】 双面打印

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

To facilitate Little Blue's learning, his mother prints out the materials provided by the teacher. For environmental protection, she usually prints on both sides of the paper, meaning both the front and back of each sheet are used. For example: if an electronic document has 33 pages, it requires 22 sheets of paper to print; if an electronic document has 44 pages, it still requires 22 sheets of paper to print. Given the number of pages NN in an electronic learning material, can you help Little Blue calculate how many sheets of paper are needed?

Input Format

An integer NN (0N10000≤N≤1000), representing the number of pages in the electronic learning material.

Output Format

The number of sheets of paper needed for double-sided printing.

Sample

7
4

20251122 A班作业(7)

Not Claimed
Status
Done
Problem
7
Open Since
2025-11-22 0:00
Deadline
2025-11-30 23:59
Extension
24 hour(s)