Inscripts interview question

Middleware