Gram's Candy Map