Odd Even

4

3 votes
Easy
Problem

You have to find the even sum and odd sum for a given number N.

Even sum means the sum of all even numbers which are less than or equal to N and odd sum is the sum of all odd numbers less than or equal to N.

Input

The only line of input contains a single integer N

Output

Print 2 space integers corresponding to the odd and even sum.

Constraints

0 ≤ N ≤ 109

Time Limit: 0.5
Memory Limit: 256
Source Limit:
Explanation

There is only 1 even number 2 which is less than equal to 2.

There is only 1 odd number 1 less than equal to 2.

Editor Image

?