Problem4544--戴口罩

4544: 戴口罩

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

疫情期间,口罩成了必需品。小爱是从某个周三开始戴口罩的,她每天都需要消耗 lns="http://www.w3.org/1998/Math/MathML">1 枚口罩。在每个周一,社区会赠送 lns="http://www.w3.org/1998/Math/MathML">7 枚口罩,在每个周二,学校会赠送 lns="http://www.w3.org/1998/Math/MathML">7 枚口罩。

在疫情出现之前,小爱有 lns="http://www.w3.org/1998/Math/MathML">10 只口罩,直到有一天,疫情结束了,小爱不用再带戴口罩了,此时她还剩下 lns="http://www.w3.org/1998/Math/MathML">n 只口罩。请问她一共戴了多少天的口罩呢? 


Input

  • 单个整数:表示疫情结束时剩余口罩数量 lns="http://www.w3.org/1998/Math/MathML">n
5≤n≤2000



Output

  • 单个整数:表示带口罩的天数。

Sample Input Copy

17

Sample Output Copy

7

Source/Category