for(;$=/.[a-z]+/g("MonTuesWednesThursFriSaturSun");)print($+"day ")