Flag pattern

Just for an educational purposes...not a recommendation.
Thanks

Penafian