Selective synthesis of oxazoles and pyrazines from α-bromo-1-phenylethanone using a by-product-promoted strategy