BM29

Original code: 

or