add B012 solution