Day of the Week by Hendrik(date)

import datetime,sys
for l in sys.stdin:s=map(int,l.split());print(datetime.datetime(s[0],s[1],s[2]).weekday()+1)%7

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top