Choose w = anb2na2nbn.