1129: 星期判断1

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:34 Solved:19

Description

假设已知当天是周一,再过n天之后,是周几呢?

Input

一个整数n

Output

n天之后是周几,用1,2,3,4,5,6,7来表示。

Sample Input Copy

8

Sample Output Copy

2