nested dolls AC
input for 11368