133 - The 11th Zhejiang Provincial Collegiate Programming Contest - J
It's Saturday today, what day is it after 11 + 22 + 33 + ... + NN days?
There are multiple test cases. The first line of input contains an integer T indicating the number of test cases. For each test case:
There is only one line containing one integer N (1 <= N <= 1000000000).
For each test case, output one string indicating the day of week.
2 1 2
A week consists of Sunday, Monday, Tuesday, Wednesday, Thursday, Friday and Saturday.