The present invention relates to compounds of formula (I) wherein R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, G1, G2, G3, Y1, Y2, n, and p are as defined in the claims. The invention also relates to methods of using the compounds of formula I to control or prevent infestation of plants, propagation material thereof, harvested crops or non-living materials by phytopathogenic or spoilage microorganisms or organisms potentially harmful to man.