C. How Many Keys?
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

Maggie has a piano keyboard of length $$$n$$$, and she wants to know how many white keys and black keys it contains. The length of the keyboard is the distance from the left of the leftmost key to the right of the rightmost key.

  • The width of the keys is as follows:
    • White keys are 4 units wide.
    • Black keys are 2 units wide.
  • The keyboard pattern starts with a white key labeled "F" and follows a repeating arrangement. Each black key is centered between two white keys, extending 1 unit over each neighboring white key.
  • Occasionally, Maggie might encounter a "weird" keyboard where a black key extends beyond the edge of a white key without any white key underneath. An example is shown below.

The goal is to determine the number of white and black keys on a keyboard of length $$$n$$$ that follows this pattern. If the keyboard cannot have length $$$n$$$, output $$$-1$$$.

Input

The first integer will contain $$$n$$$ ($$$1\leq n\leq 1000$$$) — the length of the piano Maggie was given.

Output

The output is two integers, $$$a, b$$$ which are the number of white and black keys.

Examples
Input
1
Output
-1
Input
4
Output
1 0
Input
10
Output
-1
Input
9
Output
2 2