A Magic of Logic Solution | ZXDB Entry