CF670A Holidays

题目描述

在火星上,一年正好是n天(火星上没有闰年)。但是火星人和地球人有同样的周数——5个工作日,然后是2天的假期。你的任务是确定火星上每年的最小休假天数和最大休假天数。

输入格式

输入的第一行包含一个正整数n(1

输出格式

输出两个整数——火星上每年可休假的最小天数和最大天数。 # 样例解释 样例1:火星上一年14天,因此假期刚好只能是4天(两周有4天休息)。 样例2:火星上一年2天,可以是工作日,也可以是休息日。

说明/提示

In the first sample there are $ 14 $ days in a year on Mars, and therefore independently of the day a year starts with there will be exactly $ 4 $ days off . In the second sample there are only $ 2 $ days in a year on Mars, and they can both be either work days or days off.