use POSIX;print strftime"%A ",0..5,$_%7for 1..7