get mac from /interface bridge host

Good afternoon!
How to get the script from / interface bridge host mac-address list and write to the array?

:foreach i in=[/interface bridge host find] do={

...

}