Pattern

Input


Sample code

    

Ref: Term project by Emrah Tema