Number of odd numbers
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
The program receives a natural number n as input. Your task is to determine and output the count of odd natural numbers that are less than or equal to n.
Input
A natural number n, where n is at most 10^18
.
Output
The solution to the problem.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 3K
Acceptance rate 50%