----------st----------
aml-----amc-----amr
-----mc-----mc------
--------dmc----------
-----dc--dc--dc------
---------gk----------

I need counter to this.
Thnx in advance