gan puzzle