Submit | All submissions | Best solutions | Back to list |
MOZSATDOW - Sharmeen and the day of week |
Sharmeen, the little girl recently learned about the days of week(Saturday, Sunday, Monday, Tuesday, Wednesday, Thursday, Friday). Now she wonder what will be the day of week after X days id, given today is Friday.
Input
An integer X.
Output
Print the day after X days. Let today is Friday.
Constraints
0 <= X <= 109
Example
Input: 0 Output: Friday
Input: 1 Output: Saturday
Added by: | Mozahid |
Date: | 2019-09-14 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All |