Number of even 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 output the count of even natural numbers that are less than or equal to n.
Input
A natural number n, where n does not exceed 10^18
.
Output
The solution to the problem.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 5K
Acceptance rate 42%