package main import . "fmt" import "time" func main() { var n int Scan(&n) Println(time.Weekday((int(time.Tuesday)+n%7)%7)) }