Baghdad has always been a city of great opportunity, attracting people from all corners of the country. In recent times, more and more people from the northern lands have wished to settle in Baghdad. Most of these newcomers trade various goods in the central market.
This influx complicates life for native Baghdadis. Consequently, squads of guards patrol the streets every day, asking the most suspicious individuals for their documents—and of course, patrolling the markets is considered absolutely necessary.
The central market of Baghdad is located on a circular square, with stalls arranged along its perimeter. Each stall is occupied by a trader, who may be either a native Baghdadi or a newcomer. Every trader has two immediate neighbors at adjacent stalls (to their left and right), and each trader knows for certain whether each of their two neighbors is a native.
Curiously, every trader claims the same thing: both of their neighbors are newcomers.
It is well known that native Baghdadis always tell the truth, while newcomers always lie.
At present, it is difficult to determine exactly who is telling the truth and who is lying. However, the head of the guard would like to know at least the minimum and maximum possible number of honest native Baghdadis among the traders.
\InputFileA single line contains an integer (3 \le N \le 10^9) — the total number of traders in the market.
\OutputFileOn a single line, output two integers: the minimum and maximum possible number of honest native Baghdadis that may be among these traders.
Example 1