Title: Ring transformations of heterocycles