Problem2774--六月的连续一周

2774: 六月的连续一周

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 75  Solved: 51
[Status] [Submit] [Creator:]

Description

小明六月 a 日到外婆家,呆了一周(7 天)。

求这七天对应的日期。  

Input

一个整数 a(1 ≤ a ≤ 30)。

Output

输出共 7 行,每行包含两个整数,以一个空格分隔。表示小明在外婆家待的每一天对应的日期。  

Sample Input Copy

28

Sample Output Copy

6 28
6 29
6 30
7 1
7 2
7 3
7 4

Source/Category