This question is trivial. plus the return type does not match the comments


#1

I used python datetime library, although the naive solution is easy as well – but it just a waste of time to do this sort of question