daa; solve "Bazinga" from 2013 Contest 1