Compound A, $C_8H_{10}O$, is found to react with NaOI (produced by reacting Y with NaOH) and yields a yellow precipitate with characteristic smell. A and Y are respectively