Chuyển đổi số ngày

View as PDF

Submit solution

Points: 0.10
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem type

Chuyển đổi số ngày tháng năm, tuần và số ngày lẻ.

Input Input một dòng duy nhất số nguyên(n) đại diện cho số ngày

Output
Output một dòng duy nhất quy đổi số ngày ra dạng ngày tháng năm.

Examples

Input

1329

Output

Nam = 3
Tuan = 33
Ngay = 3

Comments

Please read the guidelines before commenting.


There are no comments at the moment.