```[flow]
s=>start: Start
e=>end: End
ioWeek=>inputoutput: Week
cSun=>condition: Sunday
cMon=>condition: Monday
cTue=>condition: Tuesday
cWed=>condition: Wednesday
cThu=>condition: Thursday
cFri=>condition: Friday
cSat=>condition: Saturday
sSun=>subroutine: [ˈsʌndeɪ]
sMon=>subroutine: [ˈmʌndeɪ]
sTue=>subroutine: [ˈtju:zdeɪ]
sWed=>subroutine: [ˈwenzdeɪ]
sThu=>subroutine: [ˈθɜ:zdeɪ]
sFri=>subroutine: [ˈfraɪdeɪ]
sSat=>subroutine: [ˈsætədeɪ]
s->ioWeek->cSun
cSun(no,right)->cMon
cSun(yes)->sSun->e
cMon(no,right)->cTue
cMon(yes)->sMon->e
cTue(no,right)->cWed
cTue(yes)->sTue->e
cWed(no,right)->cThu
cWed(yes)->sWed->e
cThu(no,right)->cFri
cThu(yes)->sThu->e
cFri(no,right)->cSat
cFri(yes)->sFri->e
cSat(no,top)->ioWeek
cSat(yes,bottom)->sSat->e
```
```[flow]
s=>start: Start
e=>end: End
ioWeek=>inputoutput: Week
oSun=>operation: Sunday
oMon=>operation: Monday
oTue=>operation: Tuesday
oWed=>operation: Wednesday
oThu=>operation: Thursday
oFri=>operation: Friday
oSat=>operation: Saturday
sSun=>subroutine: [ˈsʌndeɪ]
sMon=>subroutine: [ˈmʌndeɪ]
sTue=>subroutine: [ˈtju:zdeɪ]
sWed=>subroutine: [ˈwenzdeɪ]
sThu=>subroutine: [ˈθɜ:zdeɪ]
sFri=>subroutine: [ˈfraɪdeɪ]
sSat=>subroutine: [ˈsætədeɪ]
s->ioWeek->oSun
oSun->sSun->oMon->sMon->oTue->sTue->oWed->sWed->oThu->sThu->oFri->sFri->oSat->sSat->e
```