Олимпиадный тренинг

Задача 32964. Days and weeks


Задача

Темы: Целые числа
N days have passed since a certain moment. How many full weeks and days have passed during this period?

Input
The input is a natural number n (n < 1000).

Imprint
Print the answer to the problem in the format specified in the example.
 
Examples
# Input Output
1 305 43w 4d